CVE-2026-34757: LIBPNG has a yse-after-free in png_set_PLTE, png_set_tRNS and png_set_hIST leading to corrupted chunk data and potential heap information disclosure
Vulnerability summary
CVE-2026-34757 is a medium (CVSS 5.1) Use After Free vulnerability in debian debian_linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 7Timeline
- 09-04-2026PublishedVulnerability first disclosed.
- 09-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · Red hatEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLibpng
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse5 products
- libpng16&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 1.6.40-150600.3.20.1
- libpng16&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 1.6.8-15.24.1
- libpng16&distro=SUSE Linux Micro 6.0< 1.6.43-5.1
- libpng16&distro=SUSE Linux Micro 6.1< 1.6.43-slfo.1.1_5.1
- libpng16&distro=SUSE Linux Micro 6.2< 1.6.44-160000.7.1
Redhat4 products
- libpng< 0:1.6.57-0.1.hum1
- libpng-devel< 0:1.6.57-0.1.hum1
- libpng-static< 0:1.6.57-0.1.hum1
- libpng-tools< 0:1.6.57-0.1.hum1
Debian2 products
- libpng1.6< 1.6.57-1 | < 1.6.37-3+deb11u4 | < 1.6.39-2+deb12u5 | < 1.6.48-1+deb13u5
- debian_linuxEOL11.0
Opensuse2 products
- libpng16&distro=openSUSE Leap 16.0< 1.6.44-160000.7.1
- libpng16&distro=openSUSE Tumbleweed< 1.6.57-1.1
Ubuntu2 products
- libpng< 1.2.50-1ubuntu2.14.04.3+esm2 | < 1.2.54-1ubuntu1.1+esm3
- libpng1.6< 1.6.20-2ubuntu0.1~esm4 | < 1.6.34-1ubuntu0.18.04.2+esm3 | < 1.6.37-2ubuntu0.1~esm3 | < 1.6.37-3ubuntu0.5 | < 1.6.43-5ubuntu0.6 | < 1.6.50-1ubuntu0.5
Alpine1 product
- libpng≥ 1.0.9, < 1.6.57-r0
Chainguard1 product
- libpng< 1.6.57-r0
Libpng1 product
- libpng≥ 1.0.9, < 1.6.57
Pnggroup1 product
- libpng≥ 1.0.9, < 1.6.57
Wolfi1 product
- libpng< 1.6.57-r0
10 vendors · 20 products
References
27 links- github.com/pnggroup/libpng/security/advisories/GHSA-6fr7-g8h7-v645X Refsource CONFIRMARTICLEREPORTAdvisoryMitigationPatchVendor Advisory
- github.com/pnggroup/libpng/commit/398cbe3df03f4e11bb031e07f416dfdde3684e8aX Refsource MISCARTICLEFIXPatch
- github.com/pnggroup/libpng/commit/55d20aaa322c9274491cda82c5cd4f99b48c6bccX Refsource MISCARTICLEFIXPatch
Show all 27 references
- images.redhat.comARTICLE