# 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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-09 · Modified: 2026-05-09
- Aliases: ALPINE-CVE-2026-34757, SUSE-SU-2026:1601-1, SUSE-SU-2026:1602-1, SUSE-SU-2026:21239-1, SUSE-SU-2026:21251-1, SUSE-SU-2026:21262-1, RHSA-2026:13719, UBUNTU-CVE-2026-34757, DEBIAN-CVE-2026-34757, CGA-pj5f-x2wq-8gjr, CGA-x9r7-g5xw-q59w, openSUSE-SU-2026:10564-1, openSUSE-SU-2026:20593-1, DLA-4573-1, DSA-6263-1
- Record: https://cvemate.com/vulnerability/CVE-2026-34757 · JSON: https://cvemate.com/vulnerability/CVE-2026-34757/json

## Description

```text
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.
```

## Signals

- CVSS: 5.1 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.203%, percentile 10.811%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine libpng (Alpine Linux): ≥ 1.0.9, \< 1.6.57-r0
- chainguard libpng (Chainguard): \< 1.6.57-r0
- wolfi libpng (Wolfi): \< 1.6.57-r0
- debian libpng1.6 (Debian): \< 1.6.57-1 \| \< 1.6.37-3+deb11u4 \| \< 1.6.39-2+deb12u5 \| \< 1.6.48-1+deb13u5
- ubuntu libpng (Ubuntu): \< 1.2.50-1ubuntu2.14.04.3+esm2 \| \< 1.2.54-1ubuntu1.1+esm3
- ubuntu libpng1.6 (Ubuntu): \< 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
- debian debian\_linux: 11.0
- libpng libpng: ≥ 1.0.9, \< 1.6.57
- pnggroup libpng: ≥ 1.0.9, \< 1.6.57
- opensuse libpng16&distro=openSUSE Leap 16.0 (openSUSE): \< 1.6.44-160000.7.1
- opensuse libpng16&distro=openSUSE Tumbleweed (openSUSE): \< 1.6.57-1.1
- redhat libpng (Red Hat): \< 0:1.6.57-0.1.hum1
- redhat libpng-devel (Red Hat): \< 0:1.6.57-0.1.hum1
- redhat libpng-static (Red Hat): \< 0:1.6.57-0.1.hum1
- redhat libpng-tools (Red Hat): \< 0:1.6.57-0.1.hum1
- suse libpng16&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7 (SUSE Linux Enterprise): \< 1.6.40-150600.3.20.1
- suse libpng16&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 1.6.8-15.24.1
- suse libpng16&distro=SUSE Linux Micro 6.0 (SUSE Linux Enterprise): \< 1.6.43-5.1
- suse libpng16&distro=SUSE Linux Micro 6.1 (SUSE Linux Enterprise): \< 1.6.43-slfo.1.1\_5.1
- suse libpng16&distro=SUSE Linux Micro 6.2 (SUSE Linux Enterprise): \< 1.6.44-160000.7.1

## References (first 20 of 27)

- <https://github.com/pnggroup/libpng/security/advisories/GHSA-6fr7-g8h7-v645>
- <https://github.com/pnggroup/libpng/issues/836>
- <https://github.com/pnggroup/libpng/issues/837>
- <https://github.com/pnggroup/libpng/commit/398cbe3df03f4e11bb031e07f416dfdde3684e8a>
- <https://github.com/pnggroup/libpng/commit/55d20aaa322c9274491cda82c5cd4f99b48c6bcc>
- <https://lists.debian.org/debian-lts-announce/2026/05/msg00017.html>
- <https://security.alpinelinux.org/vuln/CVE-2026-34757>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20261601-1/>
- <https://bugzilla.suse.com/1261957>
- <https://www.suse.com/security/cve/CVE-2026-34757>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20261602-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202621239-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202621251-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202621262-1/>
- <https://access.redhat.com/errata/RHSA-2026:13719>
- <https://access.redhat.com/security/cve/CVE-2026-34757>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_13719.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2456918>

---

Data as of 2026-12-05T02:36:15.542Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
