Skip to content
OpenAdvisories
High · 8.2 CVE-2026-32829 EUVD-2026-13426GHSA-vvp9-7p8x-rfvvRUSTSEC-2026-0041

lz4_flex: Decompression can leak information from uninitialized memory or reused output buffer

Published Mar 20, 2026 · Updated Sep 17, 2026 · Assigned by GitHub_M

Description

lz4_flex is a pure Rust implementation of LZ4 compression/decompression. In versions 0.11.5 and below, and 0.12.0, decompressing invalid LZ4 data can leak sensitive information from uninitialized memory or from previous decompression operations. The library fails to properly validate offset values during LZ4 "match copy operations," allowing out-of-bounds reads from the output buffer. The block-based API functions (`decompress_into`, `decompress_into_with_dict`, and others when `safe-decode` is disabled) are affected, while all frame APIs are unaffected. The impact is potential exposure of sensitive data and secrets through crafted or malformed LZ4 input. This issue has been fixed in versions 0.11.6 and 0.12.1.

Affected products

VendorProductAffectedFixed
PSeitz lz4_flex < 0.11.6, >= 0.12.0, < 0.12.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-lz4-flex 0.13.0-1 —
Debian 13 rust-lz4-flex No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-lz4-flex No fix yet —
Ubuntu 26.04 LTS rust-lz4-flex No fix yet —
Ubuntu 25.10 rust-lz4-flex No fix yet —
Ubuntu 24.04 LTS rust-lz4-flex No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 rust +11 1.93.0-1.amzn2.0.1 ALAS2-2026-3225

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling parseable 2.6.1-r1 —
Wolfi rolling py3.10-hf-xet +2 1.4.2-r1 —
Wolfi rolling qdrant 1.17.0-r5 —
Wolfi rolling vector 0.54.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io lz4_flex < 0.11.6 0.11.6 GHSA-vvp9-7p8x-rfvv
crates.io lz4_flex >= 0.12.0, < 0.12.1 0.12.1 GHSA-vvp9-7p8x-rfvv
crates.io lz4_flex >= 0.0.0-0, < 0.11.6 · >= 0.12.0, < 0.12.1 0.11.6, 0.12.1 RUSTSEC-2026-0041

Advisories 2

References