Vulnerabilities / CVE-2024-3094

critical

CVE-2024-3094

xz: malicious code in distributed source

Published Modified CWE 506
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Red Hat10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Julia10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat, Julia.

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.

Affected packages and fixed versions

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesXZ_jll5.6.3+0
alpine 3.15lighttpd1.4.76-r0
alpine 3.16lighttpd1.4.76-r0
alpine 3.17lighttpd1.4.76-r0
alpine 3.18lighttpd1.4.76-r0
alpine 3.20xz5.6.1-r2
alpine 3.21xz5.6.1-r2
alpine 3.22xz5.6.1-r2
alpine 3.23xz5.6.1-r2
alpine 3.24xz5.6.1-r2
alpine edgexz5.6.1-r2
chainguardopenssh, xz0
Show all 21 entries from 18 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesXZ_jll5.6.3+0
alpine 3.15lighttpd1.4.76-r0
alpine 3.16lighttpd1.4.76-r0
alpine 3.17lighttpd1.4.76-r0
alpine 3.18lighttpd1.4.76-r0
alpine 3.20xz5.6.1-r2
alpine 3.21xz5.6.1-r2
alpine 3.22xz5.6.1-r2
alpine 3.23xz5.6.1-r2
alpine 3.24xz5.6.1-r2
alpine edgexz5.6.1-r2
chainguardopenssh0
chainguardxz0
debian 13xz-utils5.6.1+really5.4.5-1
debian 14xz-utils5.6.1+really5.4.5-1
root.io alpine 3.20rootio-xz5.6.1-r2
root.io debian 13rootio-xz-utils5.6.1+really5.4.5-1
seal debianseal-xz-utils5.4.1-0.2+sp999
seal debianxz-utils5.4.1-0.2+sp999
wolfiopenssh0
wolfixz0

References

All 57 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.