1577 matches found
`Spsc::peek` used `Relaxed` ordering where it should have use `Acquire`
This could lead to UB through a race condition. Reported by Jacob Finkelman...
The `Deque` implementation from `TryFrom` was wrong when the `Deque` ended up full
If the array passed to Deque::tryfrom was as long as the capacity of the Deque, it would lead to a invalid state...
Panicking `Drop` implementation could lead to UB
Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants. Reported by tooson9010-spec and Evian-Zhang...
Missing dot-stuffing after a bare LF or CR allows SMTP command injection
Someone who controls the content of a message with bare LF or CR line endings can end it early with \n.\n on a server that takes a bare LF for a line ending. What follows is read by the server as SMTP commands, which can be used to send other messages over the same authenticated connection. This...
Abort in Wasmtime builds without the `gc` cargo feature
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-rc4p-x33f-vpr2. For more information see the GitHub-hosted security advisory...
Panic when a component cancels a stream or future copy on the wrong end
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xrvr-8678-5wp8. For more information see the GitHub-hosted security advisory...
UB can be reached from safe code
The variance of RefSwap and OptionRefSwap were incorrect, possibly allowing use-after-free. OptionRefSwap::intoinner did not check for null. The fix is to make RefSwap and OptionRefSwap invariant, and to change OptionRefSwap::intoinner to return an option. It is available in version 0.1.3. If you...
`verify_x509_cert` does not check the certificate validity period
tdxworkloadattestation::verification::x509::verifyx509cert, available with the host-verification feature, checked that issuercert issued cert and verified the certificate signature. It did not check the certificate's validity period, so it accepted expired and not-yet-valid certificates. With the...
Compressed request bodies can exhaust memory before extractor limits apply
Body extractors do not pass their size limits to the decompression layer. A small compressed request can therefore cause a large allocation before the extractor rejects the decoded body. A remote attacker can use this to exhaust memory or CPU resources and cause denial of service. This affects...
Degraded secret zeroization capabilities
Versions 0.11.0 and 0.11.1 of vodozemac have degraded secret zeroization capabilities, due to changes in third-party cryptographic dependencies chacha-20poly1305, sha2, hmac, which moved secret zeroization capabilities behind a feature flag while vodozemac disabled the default feature set. Impact...
Hidden file disclosure through Windows short names
On Windows volumes with 8.3 short names, actixfiles::Files can serve hidden files through their short-name aliases. The default path check rejects segments that start with a dot, but an alias such as ENV1 or GIT1 passes this check. A remote client can read files such as .env or .git/config in the...
`ant-releases`: extracting a release archive can write files outside the destination directory (path traversal / zip-slip)
ant-releases downloads and unpacks release archives from the safenetwork / autonomi repositories. When it extracts an archive, it builds each output path by joining the archive entry's own name onto the destination directory, with no check for .. or absolute components — a classic "zip-slip" path...
Spoofed malformed UDP datagrams abort DNS lookups
While waiting for a reply on a UDP connection, the client parsed every datagram that arrived from the name server's address and port before checking its message ID. If parsing failed, the attempt ended with an error instead of dropping the datagram and waiting for the real reply. The receive loop...
Parent-side NSEC at a zone cut accepted as proof of nonexistence below the cut
At a delegation, the parent zone signs an NSEC record for the child's name whose type bitmap has NS but not SOA or has DNAME. RFC 6840 section 4.1 says such a record only proves that no DS record exists at that name. It says nothing about names below the cut or about other types at the cut, becau...
BIP-322 address ownership verification bypass for P2WPKH and P2SH-P2WPKH addresses
Affected versions of bip322 accepted a BIP-322 proof created with an attacker-controlled private key as a valid signature for an unrelated victim P2WPKH or P2SH-P2WPKH address, allowing complete authentication bypass in applications using verifysimple, verifysimpleencoded, verifyfull, or...
crossbeam-channel: double free on Drop
The internal Channel type's Drop method has a race which could, in some circumstances, lead to a double-free. This could result in memory corruption. Quoting from the upstream description in merge request \1187: The problem lies in the fact that dicardallmessages contained two paths that could le...
Wasmtime doesn't fully sandbox all the Windows device filenames
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8. For more information see the GitHub-hosted security advisory...
Low severity (DoS) vulnerability in sequoia-openpgp
There is a denial-of-service vulnerability in sequoia-openpgp, our crate providing a low-level interface to our OpenPGP implementation. When triggered, the process will enter an infinite loop. Many thanks to Andrew Gallagher for disclosing the issue to us. Impact Any software directly or indirect...
Puccinier is unmainted.
The tool has been deprecated in favor of Catppuccin's new tool, whiskers crates.io...
`dlopen_derive` is unmaintained
dlopenderive hasn't been updated since June 9, 2019. dlopenderive depends on quote = "0.6.12" and syn = "0.15.34". Versions 1.0.0 of these dependencies were published on August 13, 2019. The 0. versions haven't received updates since. Note that dlopen is an unmaintained crate from the same...
Use After Free with `externref`s in Wasmtime
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g. For more information see the GitHub-hosted security advisory...
Validating Matrix key IDs may panic
Using keyid::validate may panic if the algorithm part of the key ID is longer than 255 bytes and contains non-ASCII characters. The affected versions assumed that the length of the first part containing the encryption or signing algorithm the part before the colon would fit into a NonZeroU8, but...
`FindMutView::pop` after mutating the value would lead to a use after free
Reported by Jacob Finkelman...
Abort in Wasmtime builds without the `threads` cargo feature
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2674-w29h-wqvj For more information see the GitHub-hosted security advisory...
Partial requests on keep-alive connections can bypass the request header timeout
Affected versions of actix-http apply the request header timeout only to the first request on an HTTP/1 connection. When data arrives for a later request, the dispatcher clears the idle keep-alive timer without starting a request header timer. A remote client without authentication can complete o...
KVStoreInterpreter::verify_signature_legacy answers true for every token and every key
KVStoreInterpreter::verifysignaturelegacy&PushDrop, &PublicKey, public and deprecated since 0.2.0 the crate's first release, read neither argument and answered true. A KVStore token signed by nobody, a signed token checked against a key other than its controller's, and a PushDrop with no fields...
Transaction::from_json holds an input txid that is not 64 hex digits and writes the input as spending the zero txid
Transaction::fromjson, for a document with no hex member, held each input's txid member as given. An input txid that is not 64 hex digits "zz", "", 63 or 65 digits, characters that are not hex digits answered Ok: sourcetxid and tojson gave the text back, while tobinary wrote the input as spending...
Request smuggling through malformed chunked request trailers
The HTTP/1 chunked decoder accepts a bare line feed after the final chunk as the start of a trailer instead of rejecting the malformed request. When an upstream proxy reuses a connection and either pipelines the requests or does not take steps to validate the chunked stream, the decoder can consu...
Unbounded response body buffering in Streamable HTTP clients
Before 3.9.0, the built-in Streamable HTTP clients in rmcp read non-streaming HTTP response bodies into memory with no size limit. Both the reqwest client transport-streamable-http-client-reqwest and the Unix socket client transport-streamable-http-client-unix-socket were affected: -...
Memory exhaustion when parsing a crafted `iloc` box
heifer-isobmff read the item and extent counts of the iloc box item locations from the file and allocated memory for them before checking that the box was large enough to hold that many entries. Extents that declare no field at all take zero bytes each, so a small crafted file could declare an...
Panic on an HEVC tile layout that does not match the active SPS
An HEVC picture parameter set PPS stores explicit tile column widths and row heights computed against the sequence parameter set SPS active when it was parsed. A crafted stream can redefine that SPS afterwards, so that the tile sizes add up to more than the picture. The decoder then indexed past...
`codeq`: decoding untrusted input can allocate memory from an unchecked length prefix (denial of service)
codeq is a serialization library whose Decode trait reads length-prefixed values. For String and Vec, the length-prefixed Decode implementations read a 4-byte big-endian length and allocate a buffer of that size before reading the payload. Because the declared length is taken straight from the...
xattr functions mark unwritten bytes as initialized when given a zero-length buffer
The extended-attribute functions in rustix::fs getxattr, lgetxattr, fgetxattr, listxattr, llistxattr and flistxattr write into a Buffer and then mark as many bytes initialized as the system call reported. When the buffer has zero length, the operating system treats the call as a size query: it...
`ZipArchive::extract` can write outside the destination through absolute or chained symlink targets
Before writing an entry whose path goes through a symlink, ZipArchive::extract checks the symlink's target against the destination directory. That check compares the paths as text and does not follow symlinks, and from 7.2.0 it drops the root and prefix of an absolute target before comparing...
Unbounded memory growth from GRAFT messages for unsubscribed topics
When a GRAFT control message arrived, every topic it named was added to that peer's set of topics, on the assumption that a peer grafting us must be subscribed. Nothing checked that the peer had subscribed, and subscription filters only apply to SUBSCRIBE messages. A peer can keep sending GRAFTs...
Parent-side NSEC3 at a zone cut accepted as proof of nonexistence (hickory-proto 0.25)
In hickory-proto 0.25.0 through 0.26.0-alpha.1, NSEC3 validation picked the closest encloser by hashed owner name alone and accepted the NSEC3 record that a parent zone signs at a delegation as proof that names at or below the zone cut do not exist. Such a record only proves that no DS record...
Integer underflow when reporting a malformed TSIG record
When a TSIG record is decoded from the DNS wire format, its MAC length and "other data" length are checked against the end of the record data. If a check failed, the error value was built from endidx - decoder.index. For a malformed record the decoder can already be past endidx, so this unsigned...
Paths or symlinks ending in a slash escape the sandbox
cap-primitives resolves a path inside a sandboxed directory one component at a time and opens the last component with ONOFOLLOW, so that a symlink there cannot lead out of the directory. When the path ended in /, the resolver added the slash back to the last component before opening it. With a...
`enter_l2_vcpu` passes the wrong RCX operand to `TDG.VP.ENTER`
tdxguest::tdcall::enterl2vcpu invokes the TDG.VP.ENTER TDCALL. RCX must carry the L2 VM index in bits 53:52 and the invalidation control value InvdTranslations, 0 to 3 in bits 1:0. The function computed that value as l2vmidx 52 | invdtranslations as u64, but then passed the raw l2vmidx in RCX...
Validating Matrix Content URIs may panic
Using mxcuri::validate may panic if the server name part of the URI is larger than 249 bytes. The affected versions assumed that the length of the first part of the URI mxc://servername would fit into a NonZeroU8, but the length of the server name wasn't validated and the Matrix specification...
WASI filesystem sandbox escape on Windows through a drive-prefixed path component
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c For more information see the GitHub-hosted security advisory...
Messages for an address with a quoted local part are sent to a different address
A message whose sender or recipient has a quoted local part is sent with a different address in its envelope than the one the application was given: "d "@example.com becomes [email protected]. Someone who can choose such an address can have a message delivered to another mailbox than the one the...
Malformed quoted chunk extensions can end HTTP/1.1 request bodies early
Affected versions of actix-http do not track quoted strings when parsing HTTP/1.1 chunk extensions. A carriage return inside a quoted extension value is treated as the end of the chunk-size line, even if the closing quote is missing. For example, 0;x="\r\n\r\n is accepted as the end of a chunked...
wasmtime-wasi-http: Empty Body Writes can result in Unbound Heap Usage with HTTP/2
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f8mm-ggr3-89wh For more information see the GitHub-hosted security advisory...
Incorrect handling of embedded SVG and MathML leads to mutation XSS
The MathML text integration points mi, mo, mn, ms, mtext and SVG foreignObject can be made to contain a tag in the other one's namespace a MathML integration point with a child in the SVG namespace, or vice versa without the root tag that switches out of the HTML namespace. If the attacker can...
Panic when decoding malformed Ed25519 keys from Base64
In version 0.11.1 and earlier of vodozemac, Ed25519PublicKey::frombase64 and Ed25519SecretKey::frombase64 panic on malformed input instead of returning an error, if the input decodes to 31 or 33 bytes instead of the expected 32 bytes. An attacker who can supply a key to an application using...
`lwd-uri-util` was removed from crates.io for malicious code
The lwd-uri-util crate exfiltrated SSH keys, AWS credentials, and other environmental metadata and secrets when any crate using it was built. The malicious crate had 8 versions published on 2026-11-09 approximately 12 hours before removal and had no evidence of actual usage. This crate had no...
`electrumd` was removed from crates.io for malicious code
electrumd attempted to send telemetry from the build environment to an arbitrary URL. The malicious crate had 5 versions published on 2026-01-26, approximately 10 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Bitbison for the...
eazip: symlink-target validation checks the wrong argument, allowing extraction path escapes on Windows
When extracting archives, eazip validates symlink entries before writing them. The validation function validatesymlink src/utils/mod.rs scans for backslash and NUL bytes, but passes the symlink's name where the symlink's target was intended: rust memchr2b'\', b'\0', name.asbytes // should be...
Panic on chroma QP offsets enabled with an empty offset list
An HEVC Range Extensions stream can set cuchromaqpoffsetenabledflag in a slice while its picture parameter set carries an empty chroma QP offset list. The decoder then read the list at the signalled index, which panicked on the out-of-range access. A panic aborts the decoding thread, or the whole...