Use of Out-of-range Pointer Offset Affecting rust-src package, versions <0:1.93.0-1.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-RUSTSRC-15920284
  • published7 Apr 2026
  • disclosed20 Mar 2026

Introduced: 20 Mar 2026

NewCVE-2026-32829  (opens in a new tab)
CWE-823  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 rust-src to version 0:1.93.0-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2026-3225.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-src package and not the rust-src package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1