CVE-2026-32829
lz4_flex: Decompression can leak information from uninitialized memory or reused output buffer
- State
- Published
- Severity
- 8.2 High
- Published
- Mar 20, 2026
- Updated
- Sep 17, 2026
- Reserved
- Mar 16, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.2 High | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | GitHub_M |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
lz4_flexPSeitz |
|
References
- https://github.com/PSeitz/lz4_flex/security/advisories/GHSA-vvp9-7p8x-rfvv
- https://github.com/PSeitz/lz4_flex/commit/055502ee5d297ecd6bf448ac91c055c7f6df9b6d
- https://rustsec.org/advisories/RUSTSEC-2026-0041.html
- https://access.redhat.com/security/cve/CVE-2026-32829vdb-entry
- RHBZ#2448271issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32829.json
- https://access.redhat.com/errata/RHSA-2026:22862vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:16354vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:11800vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19712vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.