CVE-2013-6954: libpng · NULL Pointer Dereference
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium · fixed in 1.6.8 : update affected systems when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 4.6% chance of exploitation in 30 days – higher than 91% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.6.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jan 2014
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | Affected
| Fixed in
|
AI-suggested
European organizations should take the following specific mitigation steps: 1) Identify all software and services that use libpng, particularly versions prior to 1.6.8, including embedded systems and third-party applications. 2) Upgrade libpng to version 1.6.8 or later, where the vulnerability is fixed. 3) If immediate upgrade is not feasible, implement input validation and filtering to detect and block PNG images with malformed or empty PLTE chunks at the application or network perimeter. 4) Employ sandboxing or isolation techniques for image processing components to contain potential crashes and prevent service-wide outages. 5) Monitor logs for application crashes related to image processing to detect potential exploitation attempts. 6) Educate developers and system administrators about safe image handling practices and ensure secure coding standards are followed for image parsing. 7) For web-facing services, consider rate limiting or CAPTCHA challenges on image uploads to reduce automated exploitation attempts.
Description
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.
References
- ibm.com/support/docview.wss?uid=swg21675973 (opens in a new tab)
- access.redhat.com/errata/RHSA-2014:0414 (opens in a new tab)
- security.gentoo.org/glsa/glsa-201406-32.xml (opens in a new tab)
- advisories.mageia.org/MGASA-2014-0075.html (opens in a new tab)
- lists.fedoraproject.org/pipermail/package-announce/2014-February/128098.html (opens in a new tab)
- lists.opensuse.org/opensuse-updates/2014-01/msg00071.html (opens in a new tab)
- marc.info (opens in a new tab)
- www-01.ibm.com/support/docview.wss?uid=swg21672080 (opens in a new tab)
- sourceforge.net/p/libpng/code/ci/1faa6ff32c648acfe3cf30a58d31d7aebc24968c (opens in a new tab)
- kb.cert.org/vuls/id/650142 (opens in a new tab)
- access.redhat.com/errata/RHSA-2014:0413 (opens in a new tab)
- secunia.com/advisories/59058 (opens in a new tab)
- marc.info (opens in a new tab)
- securityfocus.com/bid/64493 (opens in a new tab)
- secunia.com/advisories/58974 (opens in a new tab)
- oracle.com/technetwork/topics/security/cpuapr2014-1972952.html (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=1045561 (opens in a new tab)
- mandriva.com/security/advisories?name=MDVSA-2014:035 (opens in a new tab)
- lists.fedoraproject.org/pipermail/package-announce/2014-February/127947.html (opens in a new tab)
- www-01.ibm.com/support/docview.wss?uid=swg21676746 (opens in a new tab)
- lists.fedoraproject.org/pipermail/package-announce/2014-February/128099.html (opens in a new tab)
- lists.fedoraproject.org/pipermail/package-announce/2014-February/127952.html (opens in a new tab)
- libpng.org/pub/png/libpng.html (opens in a new tab)
- lists.fedoraproject.org/pipermail/package-announce/2014-February/128114.html (opens in a new tab)
- sourceforge.net/projects/libpng/files/libpng16/1.6.8/ (opens in a new tab)