Moderate Vulnerability in XZ Package: Denial of Service via Buffer Overflow
Summary
RLSA-2026:64787: Moderate: xz security update. Affects xz versions < 1:5.6.2-4.el10_2.1. Fixed in 1:5.6.2-4.el10_2.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
XZ Utils is a suite of user-space file compression utilities that utilize the Lempel-Ziv-Markov chain algorithm (LZMA) for lossless data compression. It is known for its high compression ratio and quick decompression times, making it a popular choice for handling compressed files in various environments. However, it is susceptible to vulnerabilities that can compromise its functionality and security.
Vulnerability Detail
The vulnerability identified as CVE-2026-34743 is a Denial of Service (DoS) issue caused by a buffer overflow during index decoding in the XZ package. This flaw can be exploited by an attacker to crash the application or cause it to behave unexpectedly, potentially leading to service interruptions. The vulnerability arises from improper handling of input data, which can allow an attacker to manipulate the buffer and exceed its allocated size, resulting in overflow.
How To Fix
Minimum fixed version
1:5.6.2-4.el10_2.1
This is the first release that contains the fix.
sudo dnf update xz
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary measure, you can avoid using the vulnerable features of the XZ package until the update is applied. Additionally, consider implementing input validation to mitigate the risk of buffer overflow attacks.
Conclusion
The XZ package has a moderate vulnerability (CVE-2026-34743) that can lead to Denial of Service through a buffer overflow. It is crucial to update to the patched version to ensure the security and stability of your applications. Implementing workarounds and monitoring for vulnerabilities can further enhance your system's security.
See every vulnerability recorded for xz →
FAQ
CVE-2026-34743 is a vulnerability in the XZ package that allows for a Denial of Service due to a buffer overflow in index decoding.
Exploitation of this vulnerability can lead to application crashes or unexpected behavior, resulting in service interruptions.
Yes, a patched version of the XZ package is available. Update to version 1:5.6.2-4.el10_2.1 or later to mitigate the risk.
If an immediate update is not possible, avoid using the vulnerable features of the XZ package and implement input validation as a temporary workaround.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without signup.
Related vulnerabilities
Recent vulnerabilities recorded for xz.