CVE-2015-2158: Off-by-one error in the pngcrush_measure_idat function in pngcrush.c in pngcrush before 1.7.84 allows remote a
CVE-2015-2158 is a high-severity flaw (CVSS 7.8) affecting pngcrush. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Off-by-one error in the pngcrush_measure_idat function in pngcrush.c in pngcrush before 1.7.84 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file.
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 | None |
| User interaction | Required |
| EPSS exploit chance | 2.9% (top 13%) |
| CISA exploited list | No |
| Weakness | CWE-189 |
| Published | 2017-10-06 |
| 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-2158?
pngcrush: upgrade to newer than 1.7.83. Exact commands for each OS are on this page.
Is CVE-2015-2158 being exploited?
CVE-2015-2158 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-2158 affect?
CVE-2015-2158 affects pngcrush. Severity is high (CVSS 7.8). Off-by-one error in the pngcrush_measure_idat function in pngcrush.c in pngcrush before 1.7.84 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file.
How urgent is CVE-2015-2158?
Priority 49/100. High severity
Related CVEs
- CVE-2015-7700 CRITICAL 9.8 UPGRADE Double-free vulnerability in the sPLT chunk structure and png.c in pngcrush before 1.7.87 allows attackers to