Wiz Agents & Workflows are here
Vulnerability DatabaseRUSTSEC-2026-0041

RUSTSEC-2026-0041
Rust vulnerability analysis and mitigation

Decompressing invalid LZ4 data with the block API can leak data from uninitialized memory, or leak content from previous decompression operations when reusing an output buffer. The LZ4 block format defines a "match copy operation" which duplicates previously written data or data from a user-supplied dict. The position of that data is defined by an offset. lz4_flex did not properly validate offset values, causing it to copy data from outside the initialized portion of the output buffer. Two scenarios are affected:

  • Decompressing with the unsafe implementation (safe-decode feature flag disabled, which is the default): can leak content of uninitialized memory as part of the decompressed result.
  • Decompressing into a reused, user-supplied output buffer (also affects safe-decode): can leak the previous contents of the output buffer as part of the decompressed result.Only the block-based APIs are affected. All frame APIs are unaffected.The flaw was corrected in versions 0.11.6 and 0.12.1 by properly validating offset valuesduring decompression.If upgrading is not possible, the issue can be mitigated by zeroing the output buffer beforeeach call to the affected functions and enabling the safe-decode feature flag.

SourceNVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-fxc9-7j2w-vx54CRITICAL9.3
  • RustRust
  • mpp
NoYesMar 29, 2026
CVE-2026-34202CRITICAL9.2
  • RustRust
  • zebra-chain
NoYesMar 31, 2026
CVE-2026-34377HIGH8.4
  • RustRust
  • zebrad
NoYesMar 31, 2026
CVE-2026-34219HIGH8.2
  • RustRust
  • libp2p-gossipsub
NoYesMar 31, 2026
RUSTSEC-2026-0078N/AN/A
  • RustRust
  • intaglio
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management