CVE-2024-47611
published medium CVSS 4.0 · 6.3XZ Utils on Microsoft Windows platform are vulnerable to argument injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tukaani-project | — | xz< 5.6.3 | Affected | Not stated | GitHub_M |
| tukaani | — | xz0 to < 5.6.3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tukaani-project | xz | < 5.6.3 (affected) | GitHub_M · cna |
| tukaani | xz | 0 to < 5.6.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- CWE-176 CWE-176: Improper Handling of Unicode Encoding
References
2Provider assertions
2GitHub_M · cna
XZ Utils on Microsoft Windows platform are vulnerable to argument injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 851c57457bc830dfaef8a1d17edd10fd49cd390e03aee01eeaf9235b40407330
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record