« List of all CVEs

CVE-2024-3094

Xz: malicious code in distributed source

Published: 3/29/2024 Last updated: 11/20/2025 Reserved: 3/29/2024

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 10 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Opam packages affected (3)

conf-libdw conf-liblzma gmp

Products affected (0)

No product listed.

References (118)

Credits (2)