Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-32829lz4_flex: Decompression can leak information from uninitialized memory or reused output buffer
High 7.5
In plain English
A high-severity security flaw in lz4_flex from PSeitz. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | rust-lz4-flex | no fix listed | DEBIAN-CVE-2026-32829 |
| Debian:14 | rust-lz4-flex | 0.13.0-1 | DEBIAN-CVE-2026-32829 |
| Ubuntu:24.04:LTS | rust-lz4-flex | no fix listed | UBUNTU-CVE-2026-32829 |
| Ubuntu:25.10 | rust-lz4-flex | no fix listed | UBUNTU-CVE-2026-32829 |
| Ubuntu:26.04:LTS | rust-lz4-flex | no fix listed | UBUNTU-CVE-2026-32829 |
| Ubuntu:26.10 | rust-lz4-flex | no fix listed | UBUNTU-CVE-2026-32829 |
Affected products (as reported)
Weakness: CWE-201, CWE-823 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/PSeitz/lz4_flex/security/advisories/GHSA-vvp9-7p8x-rfvv x_refsource_CONFIRM
- https://github.com/PSeitz/lz4_flex/commit/055502ee5d297ecd6bf448ac91c055c7f6df9b6d x_refsource_MISC
- https://rustsec.org/advisories/RUSTSEC-2026-0041.html x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-32829 vdb-entry, x_refsource_REDHAT
- RHBZ#2448271 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32829.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:22862 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:16354 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:11800 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19712 vendor-advisory, x_refsource_REDHAT