Libpng1.6: From version 1.6.0 to before 1.6.51, a heap buffer over-read vulnerability exists in libpng's
Affects libpng1.6Source GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 1.6.20-2ubuntu0.1~esm2 : update libpng1.6 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.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.6.20-2ubuntu0.1~esm2, 1.6.34-1ubuntu0.18.04.2+esm1, 1.6.37-2ubuntu0.1~esm1 +3
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 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-apps/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. From version 1.6.0 to before 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_write_image_8bit function when processing 8-bit images through the simplified write API with convert_to_8bit enabled. The vulnerability affects 8-bit grayscale+alpha, RGB/RGBA, and images with incomplete row data. A conditional guard incorrectly allows 8-bit input to enter code expecting 16-bit input, causing reads up to 2 bytes beyond allocated buffer boundaries. This issue has been patched in version 1.6.51.
References
- ubuntu.com/security/CVE-2025-64506 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-64506 (opens in a new tab)
- github.com/pnggroup/libpng/security/advisories/GHSA-qpr4-xm66-hww6 (opens in a new tab)
- github.com/pnggroup/libpng/pull/749 (opens in a new tab)
- github.com/pnggroup/libpng/commit/2bd84c019c300b78e811743fbcddb67c9d9bf821 (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)