Description
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pnggroup | libpng | < 1.6.51 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libpng1.6 | 1.6.51-1 | — |
| Debian 13 | libpng1.6 | 1.6.48-1+deb13u1 | DSA-6076-1 |
| Debian 12 | libpng1.6 | 1.6.39-2+deb12u1 | DSA-6076-1 |
| Debian 11 | libpng1.6 | 1.6.37-3+deb11u1 | DLA-4396-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | libpng1.6 | 1.6.50-1ubuntu0.1 | — |
| Ubuntu 24.04 LTS | libpng1.6 | 1.6.43-5ubuntu0.1 | — |
| Ubuntu 22.04 LTS | libpng1.6 | 1.6.37-3ubuntu0.1 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libpng1.6 | 1.6.37-2ubuntu0.1~esm1 | — |
| Ubuntu Pro 18.04 LTS | libpng1.6 | 1.6.34-1ubuntu0.18.04.2+esm1 | — |
| Ubuntu Pro 16.04 LTS | libpng | 1.2.54-1ubuntu1.1+esm2 | USN-8081-1 |
| Ubuntu Pro 16.04 LTS | libpng1.6 | 1.6.20-2ubuntu0.1~esm2 | — |
| Ubuntu Pro 14.04 LTS | libpng | 1.2.50-1ubuntu2.14.04.3+esm1 | USN-8081-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | libpng +3 | 1.6.56-1.hum1 | RHSA-2026:6732 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libpng12 | 1.2.57-150000.4.3.1 | SUSE-SU-2025:4432-1 |
| SLES 15 SP7 | libpng16 | 1.6.40-150600.3.3.1 | SUSE-SU-2025:4494-1 |
| SLES 15 SP6 | libpng12 | 1.2.57-150000.4.3.1 | SUSE-SU-2025:4432-1 |
| SLES 15 SP6 | libpng16 | 1.6.40-150600.3.3.1 | SUSE-SU-2025:4494-1 |
| SLES 15 SP5 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLES 15 SP4 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLES 15 SP3 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | libpng12 | 1.2.50-20.6.1 | SUSE-SU-2025:4383-1 |
| SLES 12 SP5 | libpng15 | 1.5.22-10.7.1 | SUSE-SU-2026:0898-1 |
| SLES 12 SP5 | libpng16 | 1.6.8-15.9.1 | SUSE-SU-2025:4533-1 |
| SLES for SAP 16.0 | libpng16 | 1.6.44-160000.3.1 | SUSE-SU-2026:20030-1 |
| SLES for SAP 15 SP5 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLES for SAP 15 SP4 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLES for SAP 15 SP3 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLES 16.0 | libpng16 | 1.6.44-160000.3.1 | SUSE-SU-2026:20030-1 |
| SLE Micro 6.2 | libpng16 | 1.6.44-160000.3.1 | SUSE-SU-2026:20073-1 |
| SLE Micro 6.1 | libpng16 | 1.6.43-slfo.1.1_2.1 | SUSE-SU-2026:23514-1, SUSE-SU-2025:21220-1 |
| SLE Micro 6.0 | libpng16 | 1.6.43-2.1 | SUSE-SU-2026:23063-1, SUSE-SU-2025:21217-1 |
| SLE Micro 5.5 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLE Micro 5.4 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLE Micro 5.3 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLE Micro 5.2 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLE HPC 15 SP5 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLE HPC 15 SP4 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SLE HPC 15 SP3 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SUSE Manager Server LTS 4.3 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SUSE Manager Proxy LTS 4.3 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
| SUSE Enterprise Storage 7.1 | libpng16 | 1.6.34-150000.3.12.1 | SUSE-SU-2025:4436-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libpng12 | 1.2.59-4.1 | openSUSE-SU-2025:15797-1 |
| openSUSE Tumbleweed | libpng16 | 1.6.51-1.1 | openSUSE-SU-2025:15781-1 |
| openSUSE Leap 16.0 | libpng16 | 1.6.44-160000.3.1 | openSUSE-SU-2026:20017-1 |
| openSUSE Leap 15.6 | libpng12 | 1.2.57-150000.4.3.1 | SUSE-SU-2025:4432-1 |
| openSUSE Leap 15.6 | libpng16 | 1.6.40-150600.3.3.1 | SUSE-SU-2025:4494-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libpng | 1.6.51-r0 | — |
| Alpine v3.23 | libpng | 1.6.51-r0 | — |
| Alpine v3.22 | libpng | 1.6.51-r0 | — |
| Alpine v3.21 | libpng | 1.6.53-r0 | — |
| Alpine v3.20 | libpng | 1.6.53-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | firefox | 140.5.0-1.amzn2023.0.2 | ALAS2023-2025-1305 |
| Amazon Linux 2023 | libpng +3 | 2:1.6.37-10.amzn2023.0.7 | ALAS2023-2025-1306 |
| Amazon Linux 2 | libpng +2 | 2:1.5.13-8.amzn2.0.6 | ALAS2-2025-3112 |
| Amazon Linux 2 | libpng12 +1 | 1.2.50-10.amzn2.0.3 | ALAS2-2025-3113 |
| Amazon Linux 2 | thunderbird | 140.4.0-1.amzn2.0.3 | ALAS2-2025-3091 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | fltk +4 | No fix yet | — |
| Azure Linux 3 | libpng | 1.6.51-1 | — |
| Azure Linux 2 (CBL-Mariner) | fltk +3 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | libpng | 1.6.51-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | libpng | 1.6.51-r0 | — |
Advisories 34
- USN-8081-1 libpng vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- RHSA-2026:6732 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- WID-SEC-2025-2663 libpng: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- SUSE-SU-2026:23514-1 Security update for libpng16 SUSE / openSUSE Security Updates · Sep 15, 2026
- WID-SEC-2026-0852 Apple iOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 8, 2026
- WID-SEC-2026-0853 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 8, 2026
- SUSE-SU-2026:23063-1 Security update for libpng16 SUSE / openSUSE Security Updates · Aug 12, 2026
- WID-SEC-2026-1730 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Jul 16, 2026
- NCSC-2026-0173 Kwetsbaarheden verholpen in Google Android en Samsung Mobile NCSC-NL (Netherlands) · Jun 2, 2026
- WID-SEC-2026-1772 Google Android: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 2026
- WID-SEC-2026-0974 Samsung Android: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 2026
- WID-SEC-2026-0778 Dell Secure Connect Gateway Policy Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- NCSC-2026-0102 Kwetsbaarheden verholpen in Apple macOS NCSC-NL (Netherlands) · Mar 25, 2026
- NCSC-2026-0101 Kwetsbaarheden verholpen in Apple iOS en iPadOS NCSC-NL (Netherlands) · Mar 25, 2026
- openSUSE-SU-2026:20017-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20073-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20030-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4494-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4432-1 Security update for libpng12 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21217-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21220-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4436-1 Security update for libpng16 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0898-1 Security update for libpng15 SUSE / openSUSE Security Updates · Mar 14, 2026
- openSUSE-SU-2025:15781-1 libpng16-16-1.6.51-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:4533-1 Security update for libpng16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:4383-1 Security update for libpng12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15797-1 libpng12-0-1.2.59-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2025-3112 Moderate: libpng security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 5, 2026
- ALAS2-2025-3113 Moderate: libpng12 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 5, 2026
- DSA-6076-1 libpng1.6 - security update Debian Security (DSA / DLA) · Dec 10, 2025
- ALAS2023-2025-1305 Important: firefox security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 8, 2025
- ALAS2023-2025-1306 Important: libpng security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 8, 2025
- ALAS2-2025-3091 Important: thunderbird security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 8, 2025
- DLA-4396-1 libpng1.6 - security update Debian Security (DSA / DLA) · Dec 7, 2025