1525 matches found
RUSTSEC-2026-0436 Panic and unbounded allocation (OOM) in the CFB/OLE2 parser on malformed input
The Compound File Binary OLE2 parser src/cfb.rs, used when reading .xls and .xlsb workbooks and when extracting VBA projects from .xlsx, can panic or allocate without bound on crafted input. Both are reachable through the public reader API openworkbook, Xls::new, Xlsb::new on an attacker-supplied...
RUSTSEC-2026-0598 `hugepage_rs::alloc` may cause undefined behavior with zero-sized layouts from safe code
hugepagers::alloc was a publicly accessible safe function that forwarded a Layout to the hugepage allocator's GlobalAlloc::alloc implementation without enforcing its safety requirements. GlobalAlloc::alloc requires the layout size to be non-zero. However, the safe wrapper allowed callers to pass ...
RUSTSEC-2026-0591 Ineffective default DACL on Windows
On Windows, affected versions of this crate do not provide the intended security-enhancement. In particular, any process running under the same user as the hardened process can reset our DACL, and thus bypass the protection the DACL should have provided. Usage of the crate however does not active...
RUSTSEC-2026-0486 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...
RUSTSEC-2026-0412 Arbitrary code execution when rerunning tests from a portable recording
Summary Nextest versions between 0.9.125 and 0.9.149 inclusive allow the cargo nextest run --rerun or -R command with a malicious portable recording to run arbitrary code during the build. The result is arbitrary code execution with the privileges of the user running cargo nextest. This...
RUSTSEC-2026-0409 Use-after-free from a comparator that answers inconsistently
OrderedSkipList, SkipSet and SkipMap can free a node that is still linked when a Comparator or Ord implementation gives different answers for the same pair of values during one mutating call. A later call reads the freed memory CWE-416. A safe impl Ord with the default comparator is enough to rea...
RUSTSEC-2026-0385 Non-constant-time mask generation and `u128` comparisons
Summary The ctutils::Choice type has mask generation functions for each unsigned integer size u8, u16, u32, u64, u128. These are const fn and therefore can't reuse the asm!-backed mask generation in the cmov crate that's otherwise used to ensure constant-time. In releases prior to v0.4.4, the...
RUSTSEC-2026-0387 Multiple timing variability issues in operations intended to be constant-time
Summary Several operations intended to be constant-time could execute secret-dependent branches, depending on the compiler and target CPU. These include subtraction, zero counting, division, and Montgomery multiplication. Additionally, UintRef equality could terminate at the first unequal limb, a...
RUSTSEC-2026-0546 `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...
RUSTSEC-2026-0457 OAuth client SSRF filter checks host strings, not resolved addresses
From 2.0.0 until 3.7.0, the rmcp OAuth client decided whether it may fetch an authorization server's metadata URL by inspecting only the host string. It rejected literal loopback, private and link-local IP addresses and known cloud metadata hostnames, but it did not resolve other hostnames. A...
RUSTSEC-2026-0411 Out-of-bounds read in `Log2Cache::nlog2n()`, `nlog2n_difference()` and `plog2p()`
Log2Cache::newn fills its three tables with entries for 0..=n, but the three accessor methods index those tables with getunchecked on a value the caller supplies. Nothing bounds the argument and nothing documents a bound, so any value above the n the cache was built with reads past the end of the...
RUSTSEC-2026-0429 zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size
ZipArchive::extract sizes the symlink-target buffer from the uncompressed size declared in the central directory record, before reading a single byte of entry data: rust let mut target = Vec::withcapacityfile.size as usize; Both inputs are attacker-controlled. ZipFile::size returns uncompressedsi...
RUSTSEC-2026-0545 AES entries returned without checking their authentication code when the data ends early or is empty
For WinZip AES AE-1 and AE-2 entries, the 10-byte HMAC authentication code was read and checked only after the reader had consumed exactly the entry's declared compressed size. If the archive ended before that size was reached, the read returned end-of-stream and the truncated plaintext was...
RUSTSEC-2026-0547 Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size
With the legacy-zip feature, the decoders for the Shrink, Reduce and Implode compression methods reserved output capacity for the entry's declared uncompressed size before decoding anything. That size comes from the archive, and a ZIP64 entry can declare any 64-bit value, so reading or extracting...
RUSTSEC-2026-0407 SSRF and local file disclosure via unvalidated URLs
Applications that pass attacker-controlled URLs to webpage versions before 2.1.0 may be vulnerable to server-side request forgery SSRF or local file disclosure. HTTP::fetch and Webpage::fromurl passed URLs to libcurl without restricting the URL scheme or validating the resolved destination IP...
RUSTSEC-2026-0384 Race condition in `tokio::time::Interval` on Tokio v1.54.0
Summary On the multi-threaded runtime, there is a race condition between Interval::polltick and the runtime's time driver. This affects Interval only. Sleep and Timeout are not affected. Details In Tokio v1.54.0, a race condition between tokio::time::Interval::polltick including .tick.await and t...
RUSTSEC-2026-0382 Certificate verification may accept distrusted intermediates
Affected versions may accept certificate paths containing distrusted emSign intermediate public keys when the configured trust anchors allow such paths. The private keys corresponding to these intermediates are now well known. Versions 0.103.16 and 0.104.0-alpha.8 reject paths containing these...
RUSTSEC-2026-0461 Unbounded tool schema cache in Streamable HTTP server transport
From 3.0.0 until 3.6.0, StreamableHttpService cached the result of ServerHandler::gettool in a process-wide map keyed by the tool name of incoming tools/call requests. The map had no size limit and no eviction, and it also cached unknown tool names. An entry was added while the request headers we...
RUSTSEC-2026-0379 Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-mghf-wjfp-p5xm For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0377 `wasi-http` p3: forwarded trailers aren't checked against `is_forbidden_header` hook
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jxcf-8qw5-5c33 For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0378 Panic lowering a host-created component model stream into a guest that expects a different payload type
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-9pvw-hwfg-92h5 For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0376 `wasi-http`: Guests can add conflicting content lengths to messages
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-r8xh-cgf7-392j For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0380 Bit-packing in Cranelift compiler causes silent overflow and miscompilation
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-897f-g5gm-fmxm For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0453 Use-after-free in KV backends via leaked `affinitypool::spawn_local` future
The kv-mem, kv-surrealkv and kv-rocksdb backends move non-'static borrowed state into affinity-pool closures through affinitypool::spawnlocal: a tokio::sync::MutexGuard, &Transaction, &mut ScanStateKeys/Vals, &mut dyn KeyVisitor/ValVisitor, RwLockReadGuard, and a ReadOptions holding a raw...
RUSTSEC-2026-0375 `wasi-http` p3: Guests can set incorrect content-length for spliced response bodies
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-9prg-84vf-g5fc For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0381 Bundled root certificates allow trust in distrusted emSign intermediates
Affected versions include emSign ECC Root CA - G3, which can allow certificate paths through distrusted emSign intermediates. Affected versions may accept certificate paths containing distrusted emSign intermediate public keys. The private keys corresponding to these intermediates are now well...
RUSTSEC-2026-0383 Bundled root certificates allow trust in distrusted emSign intermediates
Affected versions include emSign ECC Root CA - G3, which can allow certificate paths through distrusted emSign intermediates. Affected versions may accept certificate paths containing distrusted emSign intermediate public keys. The private keys corresponding to these intermediates are now well...
RUSTSEC-2026-0414 Exponential event growth with `ENABLE_WIKILINKS`
When Options::ENABLEWIKILINKS is enabled, a wikilink with a pipe separator and empty display text, such as a|, leaks its child node's sibling chain into the content that follows it. Each such link roughly doubles the number of events the parser yields for the rest of the document, so output grows...
RUSTSEC-2026-0548 `ZipStreamReader` extracts entries under local-header names that can differ from the central directory
A ZIP archive names each entry twice: in the local file header in front of the entry's data, and in the central directory at the end of the archive. ZipArchive lists and opens entries by their central-directory names. ZipStreamReader::visit and ZipStreamReader::extract, like readzipfilefromstream...
RUSTSEC-2026-0397 `OutBuffer::around_pos` exposes uninitialized memory
OutBuffer::aroundpos accepted a position past the initialized length of a Vec. The next streaming call then marked everything before the position as initialized, so safe code could read stale heap memory between the vector's previous length and that position. The flaw was corrected by zero-fillin...
RUSTSEC-2026-0406 Use-after-free when changing a multithreaded context with an unfinished frame
When a multithreaded frame zstdmt feature, CParameter::NbWorkers is left unfinished, its jobs may still be running on the worker threads: the C library only waits for them when the next frame starts, or when the context is freed. A session reset makes the context accept changes again in the...
RUSTSEC-2026-0393 Out-of-bounds read when training a dictionary from inconsistent sample sizes
ZDICTtrainFromBuffer is never told the length of the samples buffer. Before 0.4.10, zstd::dict::fromcontinuous initially traindict called it directly: up to 0.2.1 without checking the sample sizes against the buffer at all, and from 0.3.0 with a sum that wraps around when overflow checks are off,...
RUSTSEC-2026-0373 Missing case-insensitive matching for CSS url function
URL filtering, such as relative URLs and URL scheme limits, is not always applied when CSS sanitization is used. When the inner URL is quoted, CSS url"" is matched case-sensitively, when it should be matched case-insensitively. As a result, while url"" gets the intended domain name filtering, URL...
RUSTSEC-2026-0391 Data from an abandoned stream leaks into the next stream on a reused context
The withcontext constructors of the stream encoders and decoders used the borrowed context as it was. When a stream was abandoned on a context, for example an encoder dropped before finish after an error, whatever it left there was carried into the next stream: the input buffered by the previous...
RUSTSEC-2026-0396 `Seekable` reads a NULL or out-of-bounds seek table
Seekable did not record whether it was initialized. On a fresh Seekable, or one whose initbuff failed, decompress, offsettoframeindex and framedecompressedsize made the C library read a NULL seek table. After a failed re-initialization, decompress returned data from the refused buffer using the...
RUSTSEC-2026-0405 Out-of-bounds read with an out-of-range `InBuffer::pos`
InBuffer's fields are public, so safe code can set pos past the end of src. The position was passed to the C library unchecked, and ZSTDseekablecompressStream, unlike the other streaming functions, does not validate it: it read past the end of the input slice, by up to the frame size, and...
RUSTSEC-2026-0395 Use-after-free with `CParameter::StableInBuffer`
With CParameter::StableInBuffertrue experimental feature, the C library keeps a pointer to the input of one streaming call and reads from it in later calls, including flushstream and endstream, which take no input. An InBuffer only borrows its slice for one call, so safe code could free it in...
RUSTSEC-2026-0402 Heap buffer overflow in `CCtx::try_clone` on a multithreaded context
CCtx::tryclone experimental feature, deprecated copies tables sized from the context's applied parameters. Starting a multithreaded frame zstdmt feature replaces those parameters with the workers' without resizing the context's own tables, so after an abandoned single-threaded frame, the copy wro...
RUSTSEC-2026-0403 Uninitialized memory exposed when streaming decompression of a legacy frame fails
When decompression fails inside a legacy zstd v0.4 to v0.7 frame, the bundled zstd library reports the output buffer as fully written although nothing was written. DCtx::decompressstream committed that position even on error, and for a Vec destination this extended the vector's length over...
RUSTSEC-2026-0372 `zvariant_derive` is unmaintained
The zvariantderive crate is no longer maintained as a standalone crate. Its derive macros are provided by zbus starting with version 6.0.0. Users should migrate to zbus, with its default features disabled if they only need the D-Bus wire format...
RUSTSEC-2026-0370 `zvariant` is unmaintained
The zvariant crate is no longer maintained as a standalone crate. It has been merged into zbus starting with version 6.0.0, as its wire module. Users should migrate to zbus, with its default features disabled if they only need the D-Bus wire format. Users of the GVariant format should migrate to...
RUSTSEC-2026-0399 Use-after-free through `init_using_cdict` and `init_using_ddict`
CCtx::initusingcdict and DCtx::initusingddict experimental feature, deprecated took the dictionary as &CDict and &DDict with only 'b: 'a, so the dictionary itself could be dropped while the context still pointed at it. The same mistake in other constructors was fixed earlier . The flaw was...
RUSTSEC-2026-0400 Use-after-free of a dictionary after a one-shot call on a context with an open stream
The one-shot DCtx and CCtx methods assumed the C library resets the context, but it leaves an open stream as it is. When a stream was left unfinished on a context, a one-shot call such as decompressusingdict could leave the context pointing at the dictionary borrowed for that call, and the next...
RUSTSEC-2026-0366 Stack overflow when parsing deeply nested input in pest_grammars
Impact In affected versions, parsing deeply nested input with pestgrammars::json::JsonParser can exhaust the native stack and abort the hosting process. Applications that accept attacker-controlled JSON without suitable resource limits may therefore be vulnerable to denial of service. The reporte...
RUSTSEC-2026-0401 Out-of-bounds read in `train_from_buffer` when sample sizes overflow
ZDICTtrainFromBuffer is never told the length of the samples buffer, so trainfrombuffer checked that the sample sizes add up to it. With overflow checks off, as in release builds, that sum wrapped around: sizes totalling 2^64 plus the buffer length passed the check, and the trainer read past the...
RUSTSEC-2026-0404 Double free in `DCtx::try_clone`
DCtx::tryclone experimental feature, deprecated is a plain copy of the C context. A context owning a dictionary from loaddictionary, refprefix or initusingdict or a dictionary table refddict with RefMultipleDDicts ended up with both copies freeing it. A context cloned mid-frame resumed on...
RUSTSEC-2026-0398 `Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end
ZSTDseekabledecompress shortens the requested length to the end of the data without checking that the offset is before it. For an offset past the end, it returns a wrapped-around length without writing anything, and Seekable::decompress passed that length to Vec::setlen. With the seekable feature...
RUSTSEC-2026-0371 `zbus_names` is unmaintained
The zbusnames crate is no longer maintained as a standalone crate. It has been merged into zbus starting with version 6.0.0, as its names module. Users should migrate to zbus, with its default features disabled if they only need the D-Bus name types...
RUSTSEC-2026-0357 Out-of-bounds zero-length stream writes can panic
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-93g3-36p8-x2gc For more information see the GitHub-hosted security advisory...
RUSTSEC-2026-0363 Component-model handle tables are capped only per instance and charged to no limit
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q554-3cjc-rx7p For more information see the GitHub-hosted security advisory...