Skip to main content
CVE-2026-22801VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-22801· Medium 6.8

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

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=resoluteOther threatsAffected
  • <1.6.54-1
Fixed in
  • 1.6.54-1
Ubuntu 25.10libpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=questingOther threatsAffected
  • <1.6.50-1ubuntu0.3
Fixed in
  • 1.6.50-1ubuntu0.3
Ubuntu 24.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=nobleOther threatsAffected
  • <1.6.43-5ubuntu0.3
Fixed in
  • 1.6.43-5ubuntu0.3
Ubuntu 22.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=jammyOther threatsAffected
  • <1.6.37-3ubuntu0.3
Fixed in
  • 1.6.37-3ubuntu0.3
Ubuntu Pro 20.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.6.37-2ubuntu0.1~esm2
Fixed in
  • 1.6.37-2ubuntu0.1~esm2
Ubuntu Pro 18.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.6.34-1ubuntu0.18.04.2+esm2
Fixed in
  • 1.6.34-1ubuntu0.18.04.2+esm2

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

Community reviews

Loading reviews…