
CVE catalog
CVE-2026-34757
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
- Severity
- Medium · CVSS 5.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.19% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libpng1.6 | sid | 1.6.59-1 | fixed |
| Debian | libpng1.6 | forky | 1.6.59-1 | fixed |
| Debian | libpng1.6 | trixie | 1.6.48-1+deb13u5 | fixed |
| Debian | libpng1.6 | trixie-security | 1.6.48-1+deb13u6 | fixed |
| Debian | libpng1.6 | bookworm | 1.6.39-2+deb12u5 | fixed |
| Debian | libpng1.6 | bookworm-security | 1.6.39-2+deb12u6 | fixed |
| Cpe | libpng1.6 | Not reported | 1.6.43-5ubuntu0.6 | fixed |
| Cpe | libpng-dev | Not reported | 1.6.43-5ubuntu0.6 | fixed |
| Cpe | libpng-tools | Not reported | 1.6.43-5ubuntu0.6 | fixed |
| Cpe | libpng16-16t64 | Not reported | 1.6.43-5ubuntu0.6 | fixed |
| Cpe | libpng | Not reported | 1.6.57 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Alpine | libpng | 3.20 | 1.6.57-r0 | fixed |
| Alpine | libpng | 3.21 | 1.6.57-r0 | fixed |
| Alpine | libpng | 3.22 | 1.6.57-r0 | fixed |
| Alpine | libpng | 3.23 | 1.6.57-r0 | fixed |
| Alpine | libpng | 3.24 | 1.6.57-r0 | fixed |
| Ubuntu | libpng | pro | 1.2.51-0ubuntu3 | vulnerable |
| Ubuntu | libpng | pro | 1.2.54-1 | vulnerable |
| Ubuntu | libpng | pro | 1.2.54-1ubuntu1 | vulnerable |
| Ubuntu | libpng | pro | 1.2.54-1ubuntu1.1 | vulnerable |
| Ubuntu | libpng | pro | 1.2.54-1ubuntu1.1+esm1 | vulnerable |
| Ubuntu | libpng | pro | 1.2.54-1ubuntu1.1+esm2 | vulnerable |
| Ubuntu | libpng | pro | 1.2.54-1ubuntu1.1+esm3 | fixed |
| Ubuntu | libpng1.6 | pro | 1.6.37-1 | vulnerable |
| Ubuntu | libpng1.6 | pro | 1.6.37-2 | vulnerable |
| Ubuntu | libpng1.6 | pro | 1.6.37-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | libpng1.6 | pro | 1.6.37-2ubuntu0.1~esm2 | vulnerable |
| Ubuntu | libpng1.6 | pro | 1.6.37-2ubuntu0.1~esm3 | fixed |
| Ubuntu | libpng1.6 | 22.04 | 1.6.37-3build4 | vulnerable |
| Ubuntu | libpng1.6 | 22.04 | 1.6.37-3build5 | vulnerable |
| Ubuntu | libpng1.6 | 22.04 | 1.6.37-3ubuntu0.1 | vulnerable |
| Ubuntu | libpng1.6 | 22.04 | 1.6.37-3ubuntu0.3 | vulnerable |
| Ubuntu | libpng1.6 | 22.04 | 1.6.37-3ubuntu0.4 | vulnerable |
| Ubuntu | libpng1.6 | 22.04 | 1.6.37-3ubuntu0.5 | fixed |
| Ubuntu | libpng1.6 | 24.04 | 1.6.40-1 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.40-2 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.40-3 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.42-1 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-1 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-3 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-5build1 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-5ubuntu0.1 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-5ubuntu0.3 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-5ubuntu0.4 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-5ubuntu0.5 | vulnerable |
| Ubuntu | libpng1.6 | 24.04 | 1.6.43-5ubuntu0.6 | fixed |
| Ubuntu | libpng1.6 | 25.10 | 1.6.47-1.1 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.48-1 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.49-1~exp1 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.50-1~exp1 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.50-1 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.50-1ubuntu0.1 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.50-1ubuntu0.3 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.50-1ubuntu0.4 | vulnerable |
| Ubuntu | libpng1.6 | 25.10 | 1.6.50-1ubuntu0.5 | fixed |
| Suse | libpng16 | linux enterprise module for basesystem 15 sp7 | 1.6.40-150600.3.20.1 | fixed |
| Suse | libpng16 | linux enterprise server ltss extended security 12 sp5 | 1.6.8-15.24.1 | fixed |
| Suse | libpng16 | linux micro 6.1 | 1.6.43-slfo.1.1_5.1 | fixed |
| Suse | libpng16 | linux micro 6.0 | 1.6.43-5.1 | fixed |
| Suse | libpng16 | linux micro 6.2 | 1.6.44-160000.7.1 | fixed |
| Opensuse | libpng16 | leap 16.0 | 1.6.44-160000.7.1 | fixed |
| Opensuse | libpng16 | tumbleweed | 1.6.57-1.1 | fixed |
| Cpe | libpng | Not reported | 1.6.57 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libpng1.6 | source | sid | 1.6.57-1 | not yet assigned | Not reported | [1133051] |
| Debian | libpng1.6 | source | forky | 1.6.57-1 | not yet assigned | Not reported | [1133051] |
| Debian | libpng1.6 | source | trixie | 1.6.48-1+deb13u5 | not yet assigned | Not reported | [1133051] |
| Debian | libpng1.6 | source | bookworm | 1.6.39-2+deb12u5 | not yet assigned | Not reported | [1133051] |
| Cpe | libpng1.6 | cpe | Not reported | 1.6.43-5ubuntu0.6 | Not reported | Not reported | Not reported |
| Cpe | libpng-dev | cpe | Not reported | 1.6.43-5ubuntu0.6 | Not reported | Not reported | Not reported |
| Cpe | libpng-tools | cpe | Not reported | 1.6.43-5ubuntu0.6 | Not reported | Not reported | Not reported |
| Cpe | libpng16-16t64 | cpe | Not reported | 1.6.43-5ubuntu0.6 | Not reported | Not reported | Not reported |
| Cpe | libpng | cpe | Not reported | 1.6.57 | Not reported | Not reported | Not reported |
| Alpine | libpng | apk | 3.20 | 1.6.57-r0 | Not reported | ALPINE-CVE-2026-34757 | Not reported |
| Alpine | libpng | apk | 3.21 | 1.6.57-r0 | Not reported | ALPINE-CVE-2026-34757 | Not reported |
| Alpine | libpng | apk | 3.22 | 1.6.57-r0 | Not reported | ALPINE-CVE-2026-34757 | Not reported |
| Alpine | libpng | apk | 3.23 | 1.6.57-r0 | Not reported | ALPINE-CVE-2026-34757 | Not reported |
| Alpine | libpng | apk | 3.24 | 1.6.57-r0 | Not reported | ALPINE-CVE-2026-34757 | Not reported |
| Ubuntu | libpng | deb | pro | 1.2.54-1ubuntu1.1+esm3 | Not reported | UBUNTU-CVE-2026-34757 | Not reported |
| Ubuntu | libpng1.6 | deb | pro | 1.6.37-2ubuntu0.1~esm3 | Not reported | UBUNTU-CVE-2026-34757 | Not reported |
| Ubuntu | libpng1.6 | deb | 22.04 | 1.6.37-3ubuntu0.5 | Not reported | UBUNTU-CVE-2026-34757 | Not reported |
| Ubuntu | libpng1.6 | deb | 24.04 | 1.6.43-5ubuntu0.6 | Not reported | UBUNTU-CVE-2026-34757 | Not reported |
| Ubuntu | libpng1.6 | deb | 25.10 | 1.6.50-1ubuntu0.5 | Not reported | UBUNTU-CVE-2026-34757 | Not reported |
| Suse | libpng16 | rpm | linux enterprise module for basesystem 15 sp7 | 1.6.40-150600.3.20.1 | Not reported | SUSE-SU-2026:1602-1 | Not reported |
| Suse | libpng16 | rpm | linux enterprise server ltss extended security 12 sp5 | 1.6.8-15.24.1 | Not reported | SUSE-SU-2026:1601-1 | Not reported |
| Suse | libpng16 | rpm | linux micro 6.1 | 1.6.43-slfo.1.1_5.1 | Not reported | SUSE-SU-2026:21262-1 | Not reported |
| Suse | libpng16 | rpm | linux micro 6.0 | 1.6.43-5.1 | Not reported | SUSE-SU-2026:21251-1 | Not reported |
| Suse | libpng16 | rpm | linux micro 6.2 | 1.6.44-160000.7.1 | Not reported | SUSE-SU-2026:21239-1 | Not reported |
| Opensuse | libpng16 | rpm | leap 16.0 | 1.6.44-160000.7.1 | Not reported | OPENSUSE-SU-2026:20593-1 | Not reported |
| Opensuse | libpng16 | rpm | tumbleweed | 1.6.57-1.1 | Not reported | OPENSUSE-SU-2026:10564-1 | Not reported |
| Cpe | libpng | cpe | Not reported | 1.6.57 | Not reported | NVD-CVE-2026-34757 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libpng16-16]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-16-32bit]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-16-x86-64-v3]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-compat-devel]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-compat-devel-32bit]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-compat-devel-x86-64-v3]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-devel]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-devel-32bit]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-devel-x86-64-v3]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
- [libpng16-tools]Unknown
Source package: [libpng16]
Details (1)
1.6.58-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.6.57-1.1Version impact unknown
nvd · libpng16 · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libpng16-16]Fixed
Source package: [libpng1.6]
Details (4)
1.6.39-2+deb12u5· amd64 · bookwormFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· arm64 · bookwormFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· amd64 · bookworm-securityFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· arm64 · bookworm-securityFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
- [libpng-dev]Fixed
Source package: [libpng1.6]
Details (4)
1.6.39-2+deb12u5· amd64 · bookwormFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· arm64 · bookwormFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· amd64 · bookworm-securityFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· arm64 · bookworm-securityFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
- [libpng-tools]Fixed
Source package: [libpng1.6]
Details (4)
1.6.39-2+deb12u5· amd64 · bookwormFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· arm64 · bookwormFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· amd64 · bookworm-securityFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
1.6.39-2+deb12u5· arm64 · bookworm-securityFixed · Fixed:
1.6.39-2+deb12u5nvd · libpng1.6 · debian · bookworm; nvd · libpng1.6 · debian · 12
[Debian 13 (Trixie)]
- [libpng16-16t64]Fixed
Source package: [libpng1.6]
Details (5)
1.6.48-1+deb13u5· amd64 · trixieFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· arm64 · trixieFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· amd64 · trixie-security · Historical versionFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· arm64 · trixie-securityFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u6· amd64 · trixie-securityFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
- [libpng-dev]Fixed
Source package: [libpng1.6]
Details (5)
1.6.48-1+deb13u5· amd64 · trixieFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· arm64 · trixieFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· amd64 · trixie-security · Historical versionFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· arm64 · trixie-securityFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u6· amd64 · trixie-securityFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
- [libpng-tools]Fixed
Source package: [libpng1.6]
Details (5)
1.6.48-1+deb13u5· amd64 · trixieFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· arm64 · trixieFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· amd64 · trixie-security · Historical versionFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u5· arm64 · trixie-securityFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
1.6.48-1+deb13u6· amd64 · trixie-securityFixed · Fixed:
1.6.48-1+deb13u5nvd · libpng1.6 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_23063-1.json]
- [https://github.com/pnggroup/libpng/commit/398cbe3df03f4e11bb031e07f416dfdde3684e8a]
- [https://github.com/pnggroup/libpng/commit/55d20aaa322c9274491cda82c5cd4f99b48c6bcc]
- [https://github.com/pnggroup/libpng/issues/836]
- [https://github.com/pnggroup/libpng/issues/837]
- [https://github.com/pnggroup/libpng/security/advisories/GHSA-6fr7-g8h7-v645]
- [https://lists.debian.org/debian-lts-announce/2026/05/msg00017.html]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-34757]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-34757]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-34757]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1601-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1602-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21239-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21251-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21262-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-34757]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10564-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20593-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-34757]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34757.json]
- [https://ubuntu.com/security/notices/USN-8251-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1023.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]