CVE-2024-3094 — 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.

Published

CVSS 3.1 score 10.0 out of 10.

Related technologies

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:tukaani:xz:5.6.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:tukaani:xz:5.6.1:*:*:*:*:*:*:*
  • xz — Fixed in 5.6.1-r2
  • xz — Fixed in 5.6.1-r2

Source evidence