Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
10.0

CVE-2024-3094: XZ library can add hidden code to programs

CVE-2024-3094 · published 2 years ago
Summary

The XZ compression library (used in Red Hat Enterprise Linux versions 6 through 10) was found to include hidden malicious code in its source files starting with version 5.6.0. That code can change how any program that uses the library processes data, potentially allowing unauthorized actions. Update to a clean version of the library or apply Red Hat’s recommended patches as soon as possible.

What to do
  • Update debian xz-utils to version 5.6.1+really5.4.5-1.
  • Update lighttpd to version 1.4.76-r0.
  • Update xz to version 5.6.1-r2.
Affected software
Ecosystem VendorProductAffected versions
– red hat red hat enterprise linux 10 All versions
– red hat red hat enterprise linux 6 All versions
– red hat red hat enterprise linux 7 All versions
– red hat red hat enterprise linux 8 All versions
– red hat red hat enterprise linux 9 All versions
– red hat red hat jboss enterprise application platform 8 All versions
Debian:13 debian xz-utils < 5.6.1+really5.4.5-1
Fix: upgrade to 5.6.1+really5.4.5-1
Alpine:v3.15 – lighttpd < 1.4.76-r0
Fix: upgrade to 1.4.76-r0
Alpine:v3.20 – xz < 5.6.1-r2
Fix: upgrade to 5.6.1-r2
– tukaani xz 5.6.0
5.6.1
cpe:2.3:a:tukaani:xz:5.6.0:*:*:*:*:*:*:*
Original advisory text
Xz: malicious code in distributed source
Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0.
Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.
References
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
10.0 Critical
Exploitation
91% chance of attack within 30 days
Type
CWE-506Embedded Malicious Code
Timeline
Published29 Mar 2024
Updated4 Nov 2026
First seen4 Aug 2026
Track software like this
Free during beta