CVE-2026-25646: Libpng · Prior to 1.6.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API
Affects libpngSource GCVE Database
Not known to be exploited · CVSS 8.3 High · fixed in 1.2.50-1ubuntu2.14.04.3+esm1 : patch libpng soon.
Data as of 27 Oct 2026, 06:42 UTC
- Patch
- Available – fixed in 1.2.50-1ubuntu2.14.04.3+esm1, 1.2.54-1ubuntu1.1+esm2, 1.6.20-2ubuntu0.1~esm3 +6
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2026
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
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=resoluteOther threats | 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
|
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 1.6.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more than twice the maximum supported by the user's display, certain palettes will cause the function to enter into an infinite loop that reads past the end of an internal heap-allocated buffer. The images that trigger this vulnerability are valid per the PNG specification. This vulnerability is fixed in 1.6.55.
References
- ubuntu.com/security/CVE-2026-25646 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-25646 (opens in a new tab)
- github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 (opens in a new tab)
- openwall.com/lists/oss-security/2026/02/09/7 (opens in a new tab)
- ubuntu.com/security/notices/USN-8035-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8039-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8081-1 (opens in a new tab)