Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 1.7 with attack time required (AT:P) indicates this vulnerability presents minimal real-world risk despite the buffer overflow classification. The CVSS vector shows no confidentiality, integrity, or service availability impact (VC:N/VI:N/VA:L), with only availability degradation possible under specific conditions. The attack requires time and persistence (AT:P), reducing automated exploitation likelihood. EPSS is not provided, but the combination of low CVSS, required attack time, and limited impact suggests this is a lower-priority vulnerability appropriate for standard maintenance patch cycles rather than emergency response. No KEV status indicates no confirmed active exploitation. This appears to be a theoretical edge-case vulnerability discovered through code analysis rather than active threat, making it suitable for regular update schedules. |
| Exploit ScenarioDerived | An attacker crafts a malicious XZ-compressed file containing an Index with no Records, then delivers it to a system running vulnerable XZ Utils (via email, web download, or package repository). When the target system processes the file using lzma_index_decoder() followed by lzma_index_append(), the buffer overflow occurs, potentially causing application crash or memory corruption. Exploitation requires the victim to process the attacker-supplied XZ file, making this a file-based attack vector. No public exploit code has been identified, and attack time requirement (AT:P) indicates this is not trivially automatable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Buffer overflow in XZ Utils lzma_index_decoder() allows memory corruption when processing Index records with no data entries prior to version 5.8.3. Unauthenticated remote attackers can trigger a heap overflow via crafted compressed data, potentially causing denial of service or memory corruption. The vulnerability has a low CVSS score (1.7) due to attack time requirement and limited impact scope, with no confirmed active exploitation at time of analysis.
RemediationAI
Vendor-released patch: XZ Utils 5.8.3. Update to version 5.8.3 or later from the official XZ Utils repository. The patched version is available at https://github.com/tukaani-project/xz/releases/tag/v5.8.3. Linux distributions and package managers should prioritize updating their XZ Utils packages to 5.8.3. Users unable to immediately upgrade should restrict processing of untrusted XZ archive files until patching is completed. The upstream fix is documented in commit c8c22869e780ff57c96b46939c3d79ff99395f87. Official security advisory is available at https://github.com/tukaani-project/xz/security/advisories/GHSA-x872-m794-cxhv.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
XZ Utils is a data-compression library implementing the LZMA/LZMA2 codec. The vulnerability exists in the lzma_index_decoder() function, which processes Index structures in XZ container files. An Index with zero Records is a valid but edge-case scenario that leaves the lzma_index object in an inconsistent state. When lzma_index_append() is subsequently called, it allocates insufficient heap memory based on the corrupted index state, resulting in a classic CWE-122 (Heap-based Buffer Overflow). The flaw affects all XZ Utils versions prior to 5.8.3 across all platforms where the library is compiled and used. The vulnerability requires parsing a specially-crafted XZ archive, making it exploitable wherever XZ decompression is performed on untrusted input.
Know when Xz gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Alpine Linux: xz fixed in 5.6.1-r2
An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. Rated high severity (CVSS 8.8), this vulner
scripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing semicolons,
xz is a compression and decompression library focusing on the xz format completely written in Go. Rated high severity (C
EUVD-2026-18505
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB