Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when
Affects libpngSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 1.2.50-1ubuntu2.14.04.3+esm1 : update libpng when convenient.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.1 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.50-1ubuntu2.14.04.3+esm1, 1.2.54-1ubuntu1.1+esm2, 1.6.20-2ubuntu0.1~esm2 +5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10libpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSlibpngpkg:deb/ubuntu/libpng?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.
References
- ubuntu.com/security/CVE-2025-64505 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-64505 (opens in a new tab)
- github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42 (opens in a new tab)
- github.com/pnggroup/libpng/pull/748 (opens in a new tab)
- github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37 (opens in a new tab)
- openwall.com/lists/oss-security/2025/11/22/1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7924-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8081-1 (opens in a new tab)