
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34743 is a heap-based buffer overflow vulnerability in XZ Utils (liblzma) affecting all stable releases prior to version 5.8.3. The flaw exists in the lzma_index_append() function and is triggered when lzma_index_decoder() decodes an Index containing no Records, leaving the resulting lzma_index in an invalid internal state. It was discovered by Cantina using their AppSec agent (Apex), reported to the project maintainers, and publicly disclosed on March 31, 2026, with a fix released the same day (GitHub Advisory, Openwall). The vulnerability carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 1.7 (Low), reflecting the significant exploitation prerequisites required (GitHub Advisory).
The root cause is classified as CWE-122 (Heap-based Buffer Overflow). When lzma_index_decoder() processes an Index with zero Records, it calls lzma_index_prealloc() with records == 0, which sets the internal i->prealloc field to 0 — an invalid state. If the application subsequently calls lzma_index_append() on this lzma_index, the function uses i->prealloc to size a heap allocation, resulting in an undersized buffer and a subsequent out-of-bounds write (GitHub Commit). The attack vector is network-accessible (AV:N) with no privileges or user interaction required, but exploitation requires specific attack prerequisites (AT:P): the target application must directly use the lzma_index API and must call lzma_index_append() after decoding an empty Index — a combination described by the maintainers as rare or potentially nonexistent in real-world applications (GitHub Advisory, Openwall). The bug predates XZ Utils 5.0.0, meaning all stable releases are affected.
Successful exploitation could result in a heap buffer overflow that may cause application crashes (denial of service) or, depending on the application's memory layout and exploit mitigations, potentially arbitrary code execution. Confidentiality and integrity impacts are assessed as none under current scoring, with only a low availability impact expected in realistic scenarios (GitHub Advisory). The scope is limited to applications that directly invoke the lzma_index API — a rare usage pattern — significantly constraining the practical attack surface. No lateral movement or data exfiltration risk has been identified given the current understanding of exploitability.
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (GitHub Advisory). The EPSS score is approximately 0.042%, reflecting very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The CVSS v4.0 exploit maturity is rated "Unreported" (E:U), and the maintainers themselves stated it is "likely that this bug cannot be triggered in any real-world application" (Openwall). No threat actor attribution has been identified.
The primary remediation is to upgrade XZ Utils (liblzma) to version 5.8.3 or later, which includes the fix in src/liblzma/common/index.c (GitHub Release, GitHub Commit). While no new releases will be made for the 5.2.x, 5.4.x, or 5.6.x branches, the fix has been backported to the v5.2, v5.4, and v5.6 Git branches for those who build from source (Openwall). Linux distribution patches are available from SUSE, openSUSE, Ubuntu, Mageia, and Slackware. As a temporary workaround where patching is not immediately feasible, restrict processing of untrusted compressed data through applications that use the lzma_index API directly.
The XZ Utils maintainer Lasse Collin disclosed the vulnerability via the oss-security mailing list on March 31, 2026, characterizing the risk as low and noting that no real-world application is believed to be vulnerable due to the unusual API usage pattern required (Openwall). Heise Online covered the release with the headline "XZ Utils 5.8.3: Security update with unclear risk," reflecting community uncertainty about practical exploitability (Heise). The vulnerability was discovered by Cantina's AI-powered AppSec agent (Apex), drawing some attention as a notable example of automated security research finding a long-standing bug (predating XZ 5.0.0) in a widely deployed open-source library (GitHub Advisory). Microsoft also acknowledged the vulnerability in their security update guide, as several Azure Linux (CBL-Mariner/AZL) packages bundle affected XZ versions (Microsoft MSRC).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."