CVE-2015-2158
Off-by-one error in the pngcrush_measure_idat function in pngcrush.c in pngcrush before 1.7.84...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
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.
- Record
CVE-2015-2158- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-2158- Updated
- 2026-11-02
EUVDEUVD-2015-2267 No score
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.
- Record
EUVD-2015-2267- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qm7x-p4cx-r7pj
7.8
Off-by-one error in the pngcrush_measure_idat function in pngcrush.c in pngcrush before 1.7.84...
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.
- Record
GHSA-qm7x-p4cx-r7pj- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-43813
7.8
CVE-2015-2158 affecting package openjpeg2 2.3.1-12
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.
- Record
AZL-43813- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-43846
7.8
CVE-2015-2158 affecting package fltk 1.3.5-4
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.
- Record
AZL-43846- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVAZL-43966
7.8
CVE-2015-2158 affecting package teckit 2.5.9-4
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.
- Record
AZL-43966- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-44008
7.8
CVE-2015-2158 affecting package clucene 2.3.3.4-38
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.
- Record
AZL-44008- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-44265
7.8
CVE-2015-2158 affecting package fltk for versions less than 1.3.8-1
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.
- Record
AZL-44265- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-44589
7.8
CVE-2015-2158 affecting package openjpeg2 2.3.1-12
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.
- Record
AZL-44589- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-05
OSVAZL-44832
7.8
CVE-2015-2158 affecting package clucene 2.3.3.4-40
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.
- Record
AZL-44832- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-05
OSVAZL-44913
7.8
CVE-2015-2158 affecting package teckit for versions less than 2.5.12-4
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.
- Record
AZL-44913- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2015-0101 No score
Updated pngcrush package fixes security vulnerability
pngcrush-1.7.84 fixes defects reported by Coverity-scan, so it should be more resistant to crashes due to malformed input files, such as the one presented in CVE-2015-2158.
- Record
MGASA-2015-0101- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpeg2Azure Linux:2 |
through 2.3.1-12 | None known |
fltkAzure Linux:2 |
through 1.3.5-4 | None known |
teckitAzure Linux:2 |
through 2.5.9-4 | None known |
cluceneAzure Linux:2 |
through 2.3.3.4-38 | None known |
fltkAzure Linux:3 |
before 1.3.8-1 | 1.3.8-1 |
openjpeg2Azure Linux:3 |
through 2.3.1-12 | None known |
cluceneAzure Linux:3 |
through 2.3.3.4-40 | None known |
teckitAzure Linux:3 |
before 2.5.12-4 | 2.5.12-4 |
pngcrushMageia:4 |
before 1.7.84-1.mga4 | 1.7.84-1.mga4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-2158 is a high vulnerability (CVSS 7.8) in Pngcrush Project Pngcrush, published March 10, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.88%, the 86th percentile. Fixed in fltk 1.3.8-1.
References
sourceforge.net/p/pmt/news/2015/02/pngcrush-1784-released
securityfocus.com/bid/72830
openwall.com/lists/oss-security/2015/03/01/1
bugzilla.redhat.com/show_bug.cgi?id=1198171
nvd.nist.gov/vuln/detail/CVE-2015-2158
github.com/advisories/GHSA-qm7x-p4cx-r7pj
advisories.mageia.org/MGASA-2015-0101.html
bugs.mageia.org/show_bug.cgi?id=15393