Heap-based Buffer Overflow Affecting xz-lzma-compat package, versions <1:5.6.2-4.el10_2.1


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.51% (43rd 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-ROCKY10-XZLZMACOMPAT-19661031
  • published10 Sept 2026
  • disclosed2 Apr 2026

Introduced: 2 Apr 2026

CVE-2026-34743  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 xz-lzma-compat to version 1:5.6.2-4.el10_2.1 or higher.
This issue was patched in RLSA-2026:64787.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xz-lzma-compat package and not the xz-lzma-compat package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

XZ Utils provide a general-purpose data-compression library plus command-line tools. Prior to version 5.8.3, if lzma_index_decoder() was used to decode an Index that contained no Records, the resulting lzma_index was left in a state where where a subsequent lzma_index_append() would allocate too little memory, and a buffer overflow would occur. This issue has been patched in version 5.8.3.

CVSS Base Scores

version 3.1