Libpng1.6: From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions
Affects libpng1.6Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium · fixed in 1.6.34-1ubuntu0.18.04.2+esm2 : update libpng1.6 when convenient.
Data as of 24 Nov 2026, 20:25 UTC
- Patch
- Available – fixed in 1.6.34-1ubuntu0.18.04.2+esm2, 1.6.37-2ubuntu0.1~esm2, 1.6.37-3ubuntu0.3 +3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jan 2026
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 23 Nov 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.
AI-suggested
A fix is available and users should update libpng to version 1.6.54 or later. Ubuntu users should apply the security updates provided in packages 1.6.34-1ubuntu0.18.04.2+esm2, 1.6.37-2ubuntu0.1~esm2, 1.6.37-3ubuntu0.3, 1.6.43-5ubuntu0.3, 1.6.50-1ubuntu0.3, or later as appropriate for their distribution. Standard system updates will apply these fixes. No additional mitigation is required beyond applying these patches.
Description
Libpng versions from 1.6.26 up to but not including 1.6.54 contain an integer truncation vulnerability in the simplified write API functions. This flaw causes a heap buffer over-read when a negative row stride or a stride exceeding 65535 bytes is provided. The issue was introduced in version 1.6.26 and fixed in 1.6.54. Exploitation could lead to denial of service or potentially more severe impacts due to memory corruption.
References
- ubuntu.com/security/CVE-2026-22801 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-22801 (opens in a new tab)
- openwall.com/lists/oss-security/2026/01/12/7 (opens in a new tab)
- github.com/pnggroup/libpng/security/advisories/GHSA-vgjq-8cw5-ggw8 (opens in a new tab)
- ubuntu.com/security/notices/USN-7963-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8035-1 (opens in a new tab)