Home / Libpng / Libpng / CVE-2013-6954
CVE-2013-6954: is it exploited, and which versions of Libpng are affected and fixed?
CVE-2013-6954 is a NULL pointer dereference (crash) vulnerability in Libpng. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: libpng through 1.6.8, libpng 1.6.0, libpng 1.6.1 and 6 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2013-6954?
The png_do_expand_palette function in libpng before 1.6.8 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via (1) a PLTE chunk of zero bytes or (2) a NULL palette, related to pngrtran.c and pngset.c.
From the CVE record by certcc, last updated June 10, 2025, 13:18 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libpng | libpng | through 1.6.8 | application |
| libpng | libpng | 1.6.0 | application |
| libpng | libpng | 1.6.1 | application |
| libpng | libpng | 1.6.2 | application |
| libpng | libpng | 1.6.3 | application |
| libpng | libpng | 1.6.4 | application |
| libpng | libpng | 1.6.5 | application |
| libpng | libpng | 1.6.6 | application |
| libpng | libpng | 1.6.7 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:01 UTC.
How severe is CVE-2013-6954?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | CISA-ADP |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-6954 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 9, 2025)
- EPSS
- 4.69% probability of exploitation activity in the next 30 days, percentile 92.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- https://www.ibm.com/support/docview.wss?uid=swg21675973 x_refsource_CONFIRM
- RHSA-2014:0414 vendor-advisory, x_refsource_REDHAT
- GLSA-201406-32 vendor-advisory, x_refsource_GENTOO
- http://advisories.mageia.org/MGASA-2014-0075.html x_refsource_CONFIRM
- FEDORA-2014-1803 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2014:0100 vendor-advisory, x_refsource_SUSE
- HPSBUX03091 vendor-advisory, x_refsource_HP
- http://www-01.ibm.com/support/docview.wss?uid=swg21672080 x_refsource_CONFIRM
- http://sourceforge.net/p/libpng/code/ci/1faa6ff32c648acfe3cf30a58d31d7aebc24968c x_refsource_CONFIRM
- VU#650142 third-party-advisory, x_refsource_CERT-VN
- RHSA-2014:0413 vendor-advisory, x_refsource_REDHAT
- 59058 third-party-advisory, x_refsource_SECUNIA
- HPSBUX03092 vendor-advisory, x_refsource_HP
- 64493 vdb-entry, x_refsource_BID
- 58974 third-party-advisory, x_refsource_SECUNIA
- http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1045561 x_refsource_CONFIRM
- MDVSA-2014:035 vendor-advisory, x_refsource_MANDRIVA
- FEDORA-2014-1754 vendor-advisory, x_refsource_FEDORA
- http://www-01.ibm.com/support/docview.wss?uid=swg21676746 x_refsource_CONFIRM
- FEDORA-2014-1770 vendor-advisory, x_refsource_FEDORA
- FEDORA-2014-1778 vendor-advisory, x_refsource_FEDORA
- http://www.libpng.org/pub/png/libpng.html x_refsource_MISC
- FEDORA-2014-1766 vendor-advisory, x_refsource_FEDORA
- http://sourceforge.net/projects/libpng/files/libpng16/1.6.8/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- December 4, 2013
- Published
- January 12, 2014, 15:00 UTC
- CVE record updated
- June 10, 2025, 13:18 UTC by certcc
- NVD
- Modified, last modified June 17, 2026, 00:01 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libpng?
- Jan 27, 2026CVE-2025-28164 Libpng: memory leak
- Jan 27, 2026CVE-2025-28162 Libpng: buffer overflow
- Aug 24, 2022CVE-2021-4214 libpng: buffer overflow
- Jul 10, 2019CVE-2017-12652 Libpng: improper input validation
- Jul 10, 2019CVE-2018-14550 Libpng: out-of-bounds write (memory corruption)
- Feb 4, 2019CVE-2019-7317 Libpng: use after free
- Jan 11, 2019CVE-2019-6129 Libpng: memory leak disputed
- Jul 13, 2018CVE-2018-14048 Libpng: n/a
Questions about CVE-2013-6954
Is CVE-2013-6954 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 4.69% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libpng are affected by CVE-2013-6954?
libpng through 1.6.8, libpng 1.6.0, libpng 1.6.1, libpng 1.6.2, libpng 1.6.3, libpng 1.6.4 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2013-6954?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2013-6954?
Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2013-6954?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.