CVE-2025-64720
published high CVSS 3.1 · 7.1LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pnggroup | — | libpng>= 1.6.0, < 1.6.51 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3091 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3113 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2FIREFOX-2025-048 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1305 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | libpng | Advisory build | 2:1.6.40-8.el10_1.1 | ALSA-2026:0237 |
| Alpine Linux | edge | libpng | Fixed | 1.6.51-r0 | Package fix record |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1306 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | libpngaarch64 | Advisory build | 2:1.6.40-8.el10_1.1 | ELSA-2026-0237 |
| Red Hat Enterprise Linux | RHEL-10 | libpngaarch64 | Advisory build | 2:1.6.40-8.el10_0.1 | RHSA-2026:0212 |
| AlmaLinux | 8 | libpng | Advisory build | 2:1.6.34-9.el8_10 | ALSA-2026:0241 |
| AlmaLinux | 9 | libpng | Advisory build | 2:1.6.37-12.el9_7.1 | ALSA-2026:0238 |
| Alpine Linux | v3.20 | libpng | Fixed | 1.6.53-r0 | Package fix record |
| Alpine Linux | v3.21 | libpng | Fixed | 1.6.53-r0 | Package fix record |
| Alpine Linux | v3.22 | libpng | Fixed | 1.6.51-r0 | Package fix record |
| Alpine Linux | v3.23 | libpng | Fixed | 1.6.51-r0 | Package fix record |
| Alpine Linux | v3.24 | libpng | Fixed | 1.6.51-r0 | Package fix record |
| Oracle Linux | 10 | libpngx86_64 | Advisory build | 2:1.6.40-8.el10_1.1 | ELSA-2026-0237 |
| Oracle Linux | 7 | libpngx86_64 | Advisory build | 2:1.5.13-8.0.1.el7 | ELSA-2026-0251 |
| Oracle Linux | 8 | libpngaarch64 | Advisory build | 2:1.6.34-9.el8_10 | ELSA-2026-0241 |
| Oracle Linux | 8 | libpngx86_64 | Advisory build | 2:1.6.34-9.el8_10 | ELSA-2026-0241 |
| Oracle Linux | 9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_7.1 | ELSA-2026-0238 |
| Oracle Linux | 9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_7.1 | ELSA-2026-0238 |
| Red Hat Enterprise Linux | RHEL-10 | libpngaarch64 | Advisory build | 2:1.6.40-8.el10_1.1 | RHSA-2026:0237 |
| Red Hat Enterprise Linux | RHEL-10 | libpngppc64le | Advisory build | 2:1.6.40-8.el10_0.1 | RHSA-2026:0212 |
| Red Hat Enterprise Linux | RHEL-10 | libpngppc64le | Advisory build | 2:1.6.40-8.el10_1.1 | RHSA-2026:0237 |
| Red Hat Enterprise Linux | RHEL-10 | libpngs390x | Advisory build | 2:1.6.40-8.el10_0.1 | RHSA-2026:0212 |
| Red Hat Enterprise Linux | RHEL-10 | libpngs390x | Advisory build | 2:1.6.40-8.el10_1.1 | RHSA-2026:0237 |
| Red Hat Enterprise Linux | RHEL-10 | libpngsrc | Advisory build | 2:1.6.40-8.el10_0.1 | RHSA-2026:0212 |
| Red Hat Enterprise Linux | RHEL-10 | libpngsrc | Advisory build | 2:1.6.40-8.el10_1.1 | RHSA-2026:0237 |
| Red Hat Enterprise Linux | RHEL-10 | libpngx86_64 | Advisory build | 2:1.6.40-8.el10_0.1 | RHSA-2026:0212 |
| Red Hat Enterprise Linux | RHEL-10 | libpngx86_64 | Advisory build | 2:1.6.40-8.el10_1.1 | RHSA-2026:0237 |
| Red Hat Enterprise Linux | RHEL-7 | libpngi686 | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngppc | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngppc64 | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngppc64le | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngs390 | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngs390x | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngsrc | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-7 | libpngx86_64 | Advisory build | 2:1.5.13-8.el7_9.1 | RHSA-2026:0251 |
| Red Hat Enterprise Linux | RHEL-8 | libpngaarch64 | Advisory build | 2:1.6.34-8.el8_6.1 | RHSA-2026:0322 |
| Red Hat Enterprise Linux | RHEL-8 | libpngaarch64 | Advisory build | 2:1.6.34-9.el8_10 | RHSA-2026:0241 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_2.1 | RHSA-2026:0323 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_4.1 | RHSA-2026:0321 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_6.1 | RHSA-2026:0322 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_8.1 | RHSA-2026:0313 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-9.el8_10 | RHSA-2026:0241 |
| Red Hat Enterprise Linux | RHEL-8 | libpngppc64le | Advisory build | 2:1.6.34-8.el8_6.1 | RHSA-2026:0322 |
| Red Hat Enterprise Linux | RHEL-8 | libpngppc64le | Advisory build | 2:1.6.34-8.el8_8.1 | RHSA-2026:0313 |
| Red Hat Enterprise Linux | RHEL-8 | libpngppc64le | Advisory build | 2:1.6.34-9.el8_10 | RHSA-2026:0241 |
| Red Hat Enterprise Linux | RHEL-8 | libpngs390x | Advisory build | 2:1.6.34-8.el8_6.1 | RHSA-2026:0322 |
| Red Hat Enterprise Linux | RHEL-8 | libpngs390x | Advisory build | 2:1.6.34-9.el8_10 | RHSA-2026:0241 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_2.1 | RHSA-2026:0323 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_4.1 | RHSA-2026:0321 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_6.1 | RHSA-2026:0322 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_8.1 | RHSA-2026:0313 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-9.el8_10 | RHSA-2026:0241 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_2.1 | RHSA-2026:0323 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_4.1 | RHSA-2026:0321 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_6.1 | RHSA-2026:0322 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_8.1 | RHSA-2026:0313 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-9.el8_10 | RHSA-2026:0241 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_0.1 | RHSA-2026:0234 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_2.1 | RHSA-2026:0216 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_4.1 | RHSA-2026:0211 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_6.1 | RHSA-2026:0210 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_7.1 | RHSA-2026:0238 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_0.1 | RHSA-2026:0234 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_2.1 | RHSA-2026:0216 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_4.1 | RHSA-2026:0211 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_6.1 | RHSA-2026:0210 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_7.1 | RHSA-2026:0238 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_0.1 | RHSA-2026:0234 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_2.1 | RHSA-2026:0216 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_4.1 | RHSA-2026:0211 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_6.1 | RHSA-2026:0210 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_7.1 | RHSA-2026:0238 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_0.1 | RHSA-2026:0234 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_2.1 | RHSA-2026:0216 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_4.1 | RHSA-2026:0211 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_6.1 | RHSA-2026:0210 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_7.1 | RHSA-2026:0238 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_0.1 | RHSA-2026:0234 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_2.1 | RHSA-2026:0216 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_4.1 | RHSA-2026:0211 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_6.1 | RHSA-2026:0210 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_7.1 | RHSA-2026:0238 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_0.1 | RHSA-2026:0234 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_2.1 | RHSA-2026:0216 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_4.1 | RHSA-2026:0211 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_6.1 | RHSA-2026:0210 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_7.1 | RHSA-2026:0238 |
| AlmaLinux | 10 | java-21-openjdk | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-demo | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-demo-fastdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-demo-slowdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-devel | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-devel-fastdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-devel-slowdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-fastdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-headless | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-headless-fastdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-headless-slowdebug | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-javadoc | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-javadoc-zip | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
| AlmaLinux | 10 | java-21-openjdk-jmods | Advisory build | 1:21.0.10.0.7-1.el10.alma.1 | ALSA-2026:0928 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, an out-of-bounds read vulnerability exists in png_image_read_composite when processing palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. The palette compositing code in png_init_read_transformations incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pnggroup | libpng | >= 1.6.0, < 1.6.51 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
4Provider assertions
2GitHub_M · cna
LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b37b27387ade1c98c585eb27ff86ba5a50bfca203a87648404f242aed73c9ee2
- Ingested
- 23 Sep 2026, 08:56:07 UTC
- Source record
- Official CVE record