Medium severity · published Oct 2, 2024
CVE-2024-47611
XZ Utils on Microsoft Windows platform are vulnerable to argument injection
6.3
CVSS
0.8%
EPSS
No
On KEV
Description
XZ Utils provide a general-purpose data-compression library plus command-line tools. When built for native Windows (MinGW-w64 or MSVC), the command line tools from XZ Utils 5.6.2 and older have a command line argument injection vulnerability. If a command line contains Unicode characters (for example, filenames) that don't exist in the current legacy code page, the characters are converted to similar-looking characters with best-fit mapping. Some best-fit mappings result in ASCII characters that change the meaning of the command line, which can be exploited with malicious filenames to do argument injection or directory traversal attacks. This vulnerability is fixed in 5.6.3. Command line tools built for Cygwin or MSYS2 are unaffected. liblzma is unaffected.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XZ
xz · tukaani-project
< 5.6.3 · source: vendor, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-47611
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-47611
github.com
https://github.com/tukaani-project/xz/commit/bf518b9ba446327a062ddfe67e7e0a5baed2394f
github.com
https://github.com/tukaani-project/xz/security/advisories/GHSA-m538-c5qw-3cg4
More from xz
8.7
CVE-2025-31115
XZ has a heap-use-after-free bug in threaded .xz decoder
5.3
CVE-2026-34743
XZ Utils: Buffer overflow in lzma_index_append()
