Skip to main content
CVE-2026-34757VulnerabilityPublished Updated

Libpng: From 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back

Affects libpngSource GCVE Database

0
Compare
Authoritative record:CVE-2026-34757· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium · fixed in 1.2.50-1ubuntu2.14.04.3+esm2 : update libpng when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.2.50-1ubuntu2.14.04.3+esm2, 1.2.54-1ubuntu1.1+esm3, 1.6.20-2ubuntu0.1~esm4 +5
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Apr 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 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

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

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 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back into the corresponding setter on the same png_struct/png_info pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.

References

Community reviews

Loading reviews…