CVE-2026-32829

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:pseitz:lz4_flex:*:*:*:*:*:rust:*:*
cpe:2.3:a:pseitz:lz4_flex:0.12.0:*:*:*:*:rust:*:*

History

30 Mar 2026, 15:05

Type Values Removed Values Added
First Time Pseitz
Pseitz lz4 Flex
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:pseitz:lz4_flex:0.12.0:*:*:*:*:rust:*:*
cpe:2.3:a:pseitz:lz4_flex:*:*:*:*:*:rust:*:*
References () https://github.com/PSeitz/lz4_flex/commit/055502ee5d297ecd6bf448ac91c055c7f6df9b6d - () https://github.com/PSeitz/lz4_flex/commit/055502ee5d297ecd6bf448ac91c055c7f6df9b6d - Patch
References () https://github.com/PSeitz/lz4_flex/security/advisories/GHSA-vvp9-7p8x-rfvv - () https://github.com/PSeitz/lz4_flex/security/advisories/GHSA-vvp9-7p8x-rfvv - Mitigation, Vendor Advisory
References () https://rustsec.org/advisories/RUSTSEC-2026-0041.html - () https://rustsec.org/advisories/RUSTSEC-2026-0041.html - Third Party Advisory

Information

Published : 2026-03-20 01:15

Updated : 2026-03-30 15:05


NVD link : CVE-2026-32829

Mitre link : CVE-2026-32829

CVE.ORG link : CVE-2026-32829


JSON object : View

Products Affected

pseitz

  • lz4_flex
CWE
CWE-201

Insertion of Sensitive Information Into Sent Data

CWE-823

Use of Out-of-range Pointer Offset