CVE-2015-8540: Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66, 1.1.x and 1.2.x before…
Noroxi assessment
Priority: Monitor (action score 37/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.4% (FIRST EPSS); higher than 93.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: libpng (Debian:6.0) 1.2.44-1+squeeze6; libpng (Debian:7) 1.2.49-1+deb7u2; libpng (Debian:8) 1.2.50-2+deb8u2.
Low priority for now. Upgrade to libpng (Debian:6.0) 1.2.44-1+squeeze6; libpng (Debian:7) 1.2.49-1+deb7u2; libpng (Debian:8) 1.2.50-2+deb8u2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66, 1.1.x and 1.2.x before 1.2.56, 1.3.x and 1.4.x before 1.4.19, and 1.5.x before 1.5.26 allows remote attackers to have unspecified impact via a space character as a keyword in a PNG image, which triggers an out-of-bounds read.
- Published
- Apr 14, 2016
- Updated
- Jun 16, 2026
- EPSS
- 6.4% · 93th percentile
- CWE
- CWE-189
Report tools
Action score
37
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libpng | libpng | cpe:2.3:a:libpng:libpng |
| redhat | enterprise linux desktop supplementary | cpe:2.3:o:redhat:enterprise_linux_desktop_supplementary |
| redhat | enterprise linux hpc node | cpe:2.3:o:redhat:enterprise_linux_hpc_node |
| redhat | enterprise linux server supplementary | cpe:2.3:o:redhat:enterprise_linux_server_supplementary |
| redhat | enterprise linux workstation supplementary | cpe:2.3:o:redhat:enterprise_linux_workstation_supplementary |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux6.0
- fedoraproject fedora23
- libpng libpng0.90
- libpng libpng0.95
- libpng libpng0.96
- libpng libpng0.97
- libpng libpng0.98
- libpng libpng0.99
+12 more rows
- libpng libpng1.0.0
- libpng libpng1.0.1
- libpng libpng1.0.10
- libpng libpng1.0.11
- libpng libpng1.0.12
- libpng libpng1.0.13
- libpng libpng1.0.14
- libpng libpng1.0.15
- libpng libpng1.0.16
- libpng libpng1.0.17
- libpng libpng1.0.18
- libpng libpng1.0.19
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:6.0 | libpng | before 1.2.44-1+squeeze6 | 1.2.44-1+squeeze6 |
| Debian:7 | libpng | before 1.2.49-1+deb7u2 | 1.2.49-1+deb7u2 |
| Debian:8 | libpng | before 1.2.50-2+deb8u2 | 1.2.50-2+deb8u2 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-accessibility | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-demo | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-devel | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-javacomm | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-jdbc | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-plugin | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.6.0-ibm-src | before 1:1.6.0.16.20-1jpp.1.el5 | 1:1.6.0.16.20-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.7.0-ibm | before 1:1.7.0.9.30-1jpp.1.el5 | 1:1.7.0.9.30-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.7.0-ibm-demo | before 1:1.7.0.9.30-1jpp.1.el5 | 1:1.7.0.9.30-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.7.0-ibm-devel | before 1:1.7.0.9.30-1jpp.1.el5 | 1:1.7.0.9.30-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.7.0-ibm-jdbc | before 1:1.7.0.9.30-1jpp.1.el5 | 1:1.7.0.9.30-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.7.0-ibm-plugin | before 1:1.7.0.9.30-1jpp.1.el5 | 1:1.7.0.9.30-1jpp.1.el5 |
| Red Hat:rhel_extras:5::client | java-1.7.0-ibm-src | before 1:1.7.0.9.30-1jpp.1.el5 | 1:1.7.0.9.30-1jpp.1.el5 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm-demo | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm-devel | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm-javacomm | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm-jdbc | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm-plugin | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
| Red Hat:rhel_extras:6 | java-1.6.0-ibm-src | before 1:1.6.0.16.20-1jpp.1.el6_7 | 1:1.6.0.16.20-1jpp.1.el6_7 |
+22
Same product
libpng: all recordsOther highest-scoring records for the same primary product.
- CVE-2010-1205Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications, might allow remote…52Plan
- CVE-2017-12652libpng before 1.6.32 does not properly check the length of chunks against the user limit.40Plan
- CVE-2018-14550An issue has been found in third-party PNM decoding associated with libpng 1.6.35.36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2015-7981Nov 24, 2015 · The png_convert_to_rfc1123 function in png.c in libpng 1.0.x before 1.0.64, 1.2.x before 1.2.54, and 1.4.x before 1.4.17 allows remote…22Monitor
- ← EarlierCVE-2015-8472Jan 21, 2016 · Buffer overflow in the png_set_PLTE function in libpng before 1.0.65, 1.1.x and 1.2.x before 1.2.55, 1.3.x, 1.4.x before 1.4.18, 1.5.x…31Monitor
- Later →CVE-2016-3751Jul 10, 2016 · Unspecified vulnerability in libpng before 1.6.20, as used in Android 4.x before 4.4.4, 5.0.x before 5.0.2, 5.1.x before 5.1.1, and 6.x…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libpng | 1.2.44-1+squeeze6 · Debian:6.0 | Package registry (OSV) |
| red hat:java-1.7.0-ibm | 1:1.7.0.9.30-1jpp.1.el5 · Red Hat:rhel_extras:5::client | Package registry (OSV) |
| red hat:java-1.7.0-ibm-demo | 1:1.7.0.9.30-1jpp.1.el5 · Red Hat:rhel_extras:5::client | Package registry (OSV) |
| red hat:java-1.7.0-ibm-devel | 1:1.7.0.9.30-1jpp.1.el5 · Red Hat:rhel_extras:5::client | Package registry (OSV) |
| red hat:java-1.7.0-ibm-jdbc | 1:1.7.0.9.30-1jpp.1.el5 · Red Hat:rhel_extras:5::client | Package registry (OSV) |
| red hat:java-1.7.0-ibm-plugin | 1:1.7.0.9.30-1jpp.1.el5 · Red Hat:rhel_extras:5::client | Package registry (OSV) |
| red hat:java-1.7.0-ibm-src | 1:1.7.0.9.30-1jpp.1.el5 · Red Hat:rhel_extras:5::client | Package registry (OSV) |
| red hat:java-1.7.1-ibm | 1:1.7.1.3.30-1jpp.2.el6_7 · Red Hat:rhel_extras:6 | Package registry (OSV) |
| red hat:java-1.7.1-ibm-demo | 1:1.7.1.3.30-1jpp.2.el6_7 · Red Hat:rhel_extras:6 | Package registry (OSV) |
| red hat:java-1.7.1-ibm-devel | 1:1.7.1.3.30-1jpp.2.el6_7 · Red Hat:rhel_extras:6 | Package registry (OSV) |
| red hat:java-1.7.1-ibm-jdbc | 1:1.7.1.3.30-1jpp.2.el6_7 · Red Hat:rhel_extras:6 | Package registry (OSV) |
| red hat:java-1.7.1-ibm-plugin | 1:1.7.1.3.30-1jpp.2.el6_7 · Red Hat:rhel_extras:6 | Package registry (OSV) |
| red hat:java-1.7.1-ibm-src | 1:1.7.1.3.30-1jpp.2.el6_7 · Red Hat:rhel_extras:6 | Package registry (OSV) |
| suse:java-1_6_0-ibm | 1.6.0_sr16.20-30.1 · SUSE:Linux Enterprise Module for Legacy 12 | Package registry (OSV) |
| suse:java-1_7_0-ibm | 1.7.0_sr9.30-45.1 · SUSE:Linux Enterprise Server 11 SP2-LTSS | Package registry (OSV) |
| suse:java-1_7_1-ibm | 1.7.1_sr3.30-9.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:libpng12 | 1.2.50-19.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:libpng12-0 | 1.2.31-5.43.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:libpng15 | 1.5.22-9.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-189 · Numeric ErrorsCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- sourceforge.net/p/libpng/bugs/244/
- sourceforge.net/p/libpng/code/ci/d9006f683c641793252d92254a75ae9b815b42ed/
- sourceforge.net/projects/libpng/files/libpng10/1.0.66/
- sourceforge.net/projects/libpng/files/libpng12/1.2.56/
- sourceforge.net/projects/libpng/files/libpng14/1.4.19/
- sourceforge.net/projects/libpng/files/libpng15/1.5.26/
- www.debian.org/security/2016/dsa-3443
- www.openwall.com/lists/oss-security/2015/12/10/6
- www.openwall.com/lists/oss-security/2015/12/10/7
- www.openwall.com/lists/oss-security/2015/12/11/1
- www.openwall.com/lists/oss-security/2015/12/11/2
- www.openwall.com/lists/oss-security/2015/12/17/10
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- www.securityfocus.com/bid/80592
- access.redhat.com/errata/RHSA-2016:1430
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- security.gentoo.org/glsa/201611-08
Vendor advisories and official records. Exploit/PoC links are deliberately left out.