What’s Vulnerable › Vulnerabilities
CVE-2024-47611: XZ Utils on Microsoft Windows platform are vulnerable to argument injection
- Severity: medium (CVSS 6.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-02 · updated 2026-06-17
- Weakness: CWE-88
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.
Affected products
- tukaani-project xz: before 5.6.3 — fixed in 5.6.3
How to fix
Upgrade to a fixed version: tukaani-project xz 5.6.3. Check the vendor advisory for mitigations.
References
- https://github.com/tukaani-project/xz/commit/bf518b9ba446327a062ddfe67e7e0a5baed2394f
- https://github.com/tukaani-project/xz/security/advisories/GHSA-m538-c5qw-3cg4
Get alerted when CVE-2024-47611 or the next vulnerability affects your stack