CVE-2026-32829 Details
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.
A vulnerability in lz4_flex, a Rust library for LZ4 compression, allows for out-of-bounds reads from the output buffer during decompression of invalid LZ4 data. This issue, present in versions 0.11.5 and below, and 0.12.0, can lead to the leakage of sensitive information from uninitialized memory or from previous decompression operations. The vulnerability arises because the library fails to properly validate offset values in the LZ4 block format's 'match copy operations', which are used to duplicate data within the output buffer. The affected functions are part of the block-based API, while all frame APIs remain unaffected.
Users can upgrade to lz4_flex versions 0.11.6 or 0.12.1, which fix the vulnerability by properly validating match offsets during decompression. If an upgrade is not possible, the vulnerability can be mitigated by zeroing the output buffer before decompression and enabling the 'safe-decode' feature.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-201 | Insertion of Sensitive Information Into Sent Data | [email protected] |
| CWE-823 | Use of Out-of-range Pointer Offset | redhat-SADP |
| CWE-823 | Use of Out-of-range Pointer Offset | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pseitz lz4 flex | < 0.11.6 0.12.0 |
CPE
Remediation
| |
Change History
16 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 17, 2026 | CVE Modified | redhat-SADP |
| Sep 4, 2026 | CVE Modified | [email protected] |
| Sep 4, 2026 | CVE Modified | redhat-SADP |
| Aug 25, 2026 | CVE Modified | redhat-SADP |
| Aug 24, 2026 | CVE Modified | redhat-SADP |
| Aug 19, 2026 | CVE Modified | redhat-SADP |
| Aug 11, 2026 | CVE Modified | redhat-SADP |
| Aug 10, 2026 | CVE Modified | redhat-SADP |
| Aug 3, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 14, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Mar 30, 2026 | Initial Analysis | [email protected] |
| Mar 20, 2026 | New CVE Received | [email protected] |