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
Summary
  • (es) lz4_flex es una implementación pura en Rust de compresión/descompresión LZ4. En las versiones 0.11.5 e inferiores, y 0.12.0, la descompresión de datos LZ4 no válidos puede filtrar información sensible de memoria no inicializada o de operaciones de descompresión anteriores. La biblioteca no valida correctamente los valores de desplazamiento durante las 'operaciones de copia de coincidencia' de LZ4, permitiendo lecturas fuera de límites del búfer de salida. Las funciones API basadas en bloques ('decompress_into', 'decompress_into_with_dict', y otras cuando 'safe-decode' está deshabilitado) se ven afectadas, mientras que todas las API de trama no se ven afectadas. El impacto es la exposición potencial de datos sensibles y secretos a través de entradas LZ4 manipuladas o malformadas. Este problema ha sido solucionado en las versiones 0.11.6 y 0.12.1.
CPE cpe:2.3:a:pseitz:lz4_flex:0.12.0:*:*:*:*:rust:*:*
cpe:2.3:a:pseitz:lz4_flex:*:*:*:*:*:rust:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
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
First Time Pseitz lz4 Flex
Pseitz

20 Mar 2026, 01:15

Type Values Removed Values Added
New CVE

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