CVE-2015-4035: scripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing s
CVE-2015-4035 is a high-severity flaw (CVSS 7.8) affecting xz. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
scripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing semicolons, which allows remote attackers to execute arbitrary code by having a user run xzgrep on a crafted file name.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 37%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2017-07-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2015-4035?
xz: upgrade to newer than 4.999.9. Exact commands for each OS are on this page.
Is CVE-2015-4035 being exploited?
CVE-2015-4035 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2015-4035 affect?
CVE-2015-4035 affects xz. Severity is high (CVSS 7.8). scripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing semicolons, which allows remote attackers to execute arbitrary code by having a user run xzgrep on a crafted file name.
How urgent is CVE-2015-4035?
Priority 43/100. High severity
Related CVEs
- CVE-2022-1271 HIGH 8.8 UPGRADE DOWNGRADE An arbitrary file write vulnerability was found in GNU gzip's zgrep utility
- CVE-2026-34743 MEDIUM 5.3 UPGRADE XZ Utils provide a general-purpose data-compression library plus command-line tools
- CVE-2024-3094 CRITICAL 10.0 DOWNGRADE Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0
- CVE-2021-29482 HIGH 7.5 UPGRADE xz is a compression and decompression library focusing on the xz format completely written in Go
- CVE-2020-22916 MEDIUM 5.5 DOWNGRADE An issue discovered in XZ 5.2.5 allows attackers to cause a denial of service via decompression of a crafted f