Skip to content
Fencer Intel
high 8.8

CVE-2015-8540 json

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…

published 2016-04-14 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-8421

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.5%
EPSS 6.5% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • libpng Ubuntu 14.04 LTS 1.2.50-1ubuntu2.14.04.2

ubuntu advisories UBUNTU-CVE-2015-8540

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • java-1.7.0-ibm network satellite 5.6 1:1.7.0.9.40-1jpp.1.el5
  • java-1.7.1-ibm network satellite 5.7, network satellite 5.6 1:1.7.1.3.40-1jpp.1.el6_7
  • spacewalk-java network satellite 5.6 2.0.2-109.el5sat
  • spacewalk-java network satellite 5.6 2.0.2-109.el6sat
  • spacewalk-java network satellite 5.7 2.3.8-146.el6sat
  • spacewalk-java-lib network satellite 5.6 2.0.2-109.el5sat
  • spacewalk-java-lib network satellite 5.6 2.0.2-109.el6sat
  • spacewalk-java-lib network satellite 5.7 2.3.8-146.el6sat

red hat advisories RHSA-2016:1430RHSA-2016:0101RHSA-2016:0100RHSA-2016:0099

  • libpng15 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +4 more 1.5.22-9.1
  • libpng12-0 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.2.31-5.43.1
  • libpng12 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 1.2.50-19.1
  • java-1_6_0-ibm SLE Module for Legacy 12 1.6.0_sr16.20-30.1
  • java-1_7_1-ibm SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 1.7.1_sr3.30-21.1
  • java-1_7_1-ibm SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.7.1_sr3.30-9.1
  • java-1_6_0-ibm SLES 11 SP3-LTSS 1.6.0_sr16.20-51.1
  • java-1_7_0-ibm SLES 11 SP3-LTSS 1.7.0_sr9.30-47.1

suse advisories SUSE-SU-2017:0950-1SUSE-SU-2017:0901-1SUSE-SU-2017:0860-1SUSE-SU-2016:0770-1SUSE-SU-2016:0636-1SUSE-SU-2016:0431-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-8540 updated cvss 7.6

libpng: underflow read in png_check_keyword()

  • Red Hat Enterprise Linux 5 libpng Red Hat Enterprise Linux 6 libpng Red Hat Enterprise Linux 7 libpng, libpng12 Red Hat Enterprise Linux 8 libpng12
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client Supplementary (v. 7) java-1.7.1-ibm 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-jdbc 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-plugin 1.7.1.3.30-1jpp.1.el7 Red Hat Enterprise Linux ComputeNode Supplementary (v. 7) java-1.7.1-ibm 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.1.el7
    fixed: vendor fix RHSA-2016:0099
  • Red Hat Enterprise Linux Desktop Supplementary (v. 5) java-1.7.0-ibm 1.7.0.9.30-1jpp.1.el5, java-1.6.0-ibm 1.6.0.16.20-1jpp.1.el5, java-1.7.0-ibm-src 1.7.0.9.30-1jpp.1.el5, java-1.6.0-ibm-src 1.6.0.16.20-1jpp.1.el5, java-1.7.0-ibm-demo 1.7.0.9.30-1jpp.1.el5, java-1.7.0-ibm-jdbc 1.7.0.9.30-1jpp.1.el5, +6 more Red Hat Enterprise Linux Desktop Supplementary (v. 6) java-1.7.1-ibm 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm-src 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.2.el6_7, java-1.7.1-ibm-jdbc 1.7.1.3.30-1jpp.2.el6_7, +5 more Red Hat Enterprise Linux HPC Node Supplementary (v. 6) java-1.7.1-ibm 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm-src 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm-demo 1.6.0.16.20-1jpp.1.el6_7, +1 more Red Hat Enterprise Linux Server Supplementary (v. 5) java-1.7.0-ibm 1.7.0.9.30-1jpp.1.el5, java-1.6.0-ibm 1.6.0.16.20-1jpp.1.el5, java-1.7.0-ibm-src 1.7.0.9.30-1jpp.1.el5, java-1.6.0-ibm-src 1.6.0.16.20-1jpp.1.el5, java-1.7.0-ibm-demo 1.7.0.9.30-1jpp.1.el5, java-1.7.0-ibm-jdbc 1.7.0.9.30-1jpp.1.el5, +6 more Red Hat Enterprise Linux Server Supplementary (v. 6) java-1.7.1-ibm 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm-src 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.2.el6_7, java-1.7.1-ibm-jdbc 1.7.1.3.30-1jpp.2.el6_7, +5 more
    fixed: vendor fix RHSA-2016:0101
  • Red Hat Enterprise Linux Server Supplementary (v. 7) java-1.7.1-ibm 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-jdbc 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-plugin 1.7.1.3.30-1jpp.1.el7
    fixed: vendor fix RHSA-2016:0099
  • Red Hat Enterprise Linux Workstation Supplementary (v. 6) java-1.7.1-ibm 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.2.el6_7, java-1.6.0-ibm-src 1.6.0.16.20-1jpp.1.el6_7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.2.el6_7, java-1.7.1-ibm-jdbc 1.7.1.3.30-1jpp.2.el6_7, +5 more
    fixed: vendor fix RHSA-2016:0101
  • Red Hat Enterprise Linux Workstation Supplementary (v. 7) java-1.7.1-ibm 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-src 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-demo 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-jdbc 1.7.1.3.30-1jpp.1.el7, java-1.7.1-ibm-plugin 1.7.1.3.30-1jpp.1.el7
    fixed: vendor fix RHSA-2016:0099
  • Red Hat Satellite 5.6 (RHEL v.5) spacewalk-java 2.0.2-109.el5sat, spacewalk-java-lib 2.0.2-109.el5sat, java-1.7.0-ibm 1.7.0.9.40-1jpp.1.el5, spacewalk-taskomatic 2.0.2-109.el5sat, spacewalk-java-config 2.0.2-109.el5sat, spacewalk-java-oracle 2.0.2-109.el5sat, +1 more Red Hat Satellite 5.6 (RHEL v.6) spacewalk-java 2.0.2-109.el6sat, spacewalk-java-lib 2.0.2-109.el6sat, spacewalk-taskomatic 2.0.2-109.el6sat, java-1.7.1-ibm 1.7.1.3.40-1jpp.1.el6_7, spacewalk-java-config 2.0.2-109.el6sat, spacewalk-java-oracle 2.0.2-109.el6sat, +1 more Red Hat Satellite 5.7 (RHEL v.6) spacewalk-java 2.3.8-146.el6sat, spacewalk-java-lib 2.3.8-146.el6sat, spacewalk-taskomatic 2.3.8-146.el6sat, java-1.7.1-ibm 1.7.1.3.40-1jpp.1.el6_7, spacewalk-java-config 2.3.8-146.el6sat, spacewalk-java-oracle 2.3.8-146.el6sat, +1 more
    fixed: vendor fix RHSA-2016:1430
  • Red Hat Enterprise Linux 8 libpng, libpng15
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

6.48% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.