Skip to main content
Public proof of conceptFix available

CVE-2024-3094

XZ backdoor: Xz: malicious code in distributed source

A public proof of concept exists; no exploitation attested.

  • Published2024-03-29
  • WeaknessCWE-506

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-03-2916:51CVE publishedCNA
  2. 2024-03-2917:15CVE publishedNVD

Versions per branch

NVD
Tukaani xz
BranchAffectedFixed in
5.6= 5.6.0no fix published
5.6= 5.6.1no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA7 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

1 more product in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • lighttpdAlpine:v3.18all versions · fixed in 1.4.76-r0
  • lighttpdAlpine:v3.17all versions · fixed in 1.4.76-r0
  • lighttpdAlpine:v3.16all versions · fixed in 1.4.76-r0
  • lighttpdAlpine:v3.15all versions · fixed in 1.4.76-r0
  • xzWolfiall versions · fixed in 0and 1 other package
  • xzopenSUSE:Tumbleweedall versions · fixed in 5.6.2-1.1
  • xzCleanStartall versions · fixed in 5.6.1-r2
  • xzChainguardall versions · fixed in 0and 1 other package

9 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-3094 Red Hat Product Security

    xz: malicious code in distributed source

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2024-03-29
Last Modified
2026-11-04
NVD status
Modified
GitHub Advisory
GHSA-rxwq-x6h5-x525

Frequently asked questions

What is CVE-2024-3094?

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.

Is CVE-2024-3094 actively exploited?

Active exploitation of CVE-2024-3094 has not been confirmed. Its EPSS score was 90.9% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-3094?

CVE-2024-3094 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running xz? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record