CVE-2025-64720 LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication
HighCVSS 7.1
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft windows 10 1809 | < 10.0.17763.8644 | 10.0.17763.8644 |
| Microsoft Windows Server 2019 | < 10.0.17763.8644 | 10.0.17763.8644 |
| Microsoft Windows Server 2022 | < 10.0.20348.5020 | 10.0.20348.5020 |
| Microsoft windows 10 21h2 | < 10.0.19044.7184 | 10.0.19044.7184 |
| Microsoft windows 10 22h2 | < 10.0.19045.7184 | 10.0.19045.7184 |
| Microsoft Windows Server 2025 | < 10.0.26100.32690 | 10.0.26100.32690 |
| Microsoft windows 11 25h2 | < 10.0.26200.8246 | 10.0.26200.8246 |
| Microsoft windows 11 23h2 | < 10.0.22631.6936 | 10.0.22631.6936 |
| Microsoft windows server 23h2 | < 10.0.25398.2274 | 10.0.25398.2274 |
| Microsoft windows 11 24h2 | < 10.0.26100.8246 | 10.0.26100.8246 |
| Microsoft windows 11 26h1 | < 10.0.28000.1836 | 10.0.28000.1836 |
| Microsoft windows 10 1607 | < 10.0.14393.9060 | 10.0.14393.9060 |
| Microsoft Windows Server 2016 | < 10.0.14393.9060 | 10.0.14393.9060 |
| Microsoft Windows Server 2012 | < 6.2.9200.26026 | 6.2.9200.26026 |
| Microsoft Windows Server 2012 R2 | < 6.3.9600.23132 | 6.3.9600.23132 |
| debian/libpng1.6(Debian:12) | < 1.6.39-2+deb12u1 | 1.6.39-2+deb12u1 |
| debian/libpng1.6(Debian:12) | = 1.6.39-2 | No fix listed |
| debian/libpng1.6(Debian:13) | < 1.6.48-1+deb13u1 | 1.6.48-1+deb13u1 |
| debian/libpng1.6(Debian:13) | = 1.6.48-1 | No fix listed |
| debian/libpng1.6(Debian:14) | < 1.6.51-1 | 1.6.51-1 |
| debian/libpng1.6(Debian:14) | = 1.6.48-1 | No fix listed |
| debian/libpng1.6(Debian:14) | = 1.6.49-1~exp1 | No fix listed |
| debian/libpng1.6(Debian:14) | = 1.6.50-1 | No fix listed |
| debian/libpng1.6(Debian:14) | = 1.6.50-1~exp1 | No fix listed |
| pnggroup libpng | = >= 1.6.0, < 1.6.51 | No fix listed |
Show 78 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libpng1.6(Ubuntu:22.04) | < 1.6.37-3ubuntu0.1 | 1.6.37-3ubuntu0.1 |
| alpine/libpng(Alpine:v3.20) | >= 1.6.0, < 1.6.53-r0 | 1.6.53-r0 |
| alpine/libpng(Alpine:v3.21) | >= 1.6.0, < 1.6.53-r0 | 1.6.53-r0 |
| alpine/libpng(Alpine:v3.22) | >= 1.6.0, < 1.6.51-r0 | 1.6.51-r0 |
| alpine/libpng(Alpine:v3.23) | >= 1.6.0, < 1.6.51-r0 | 1.6.51-r0 |
| alpine/libpng(Alpine:v3.24) | >= 1.6.0, < 1.6.51-r0 | 1.6.51-r0 |
| redhat/java-11-openjdk-portable(Red Hat:openjdk_els:11) | All versions | No fix listed |
| redhat/java-17-openjdk-portable(Red Hat:openjdk:17) | All versions | No fix listed |
| redhat/java-21-openjdk-portable(Red Hat:openjdk:21) | All versions | No fix listed |
| redhat/java-25-openjdk-portable(Red Hat:openjdk:25) | All versions | No fix listed |
| redhat/java-1.8.0-openjdk-portable(Red Hat:openjdk:1.8) | All versions | No fix listed |
| redhat libpng(Red Hat:enterprise_linux:10.1) | < 2:1.6.40-8.el10_1.1 | 2:1.6.40-8.el10_1.1 |
| redhat/java-21-openjdk(Red Hat:enterprise_linux:10.1) | < 1:21.0.10.0.7-1.el10 | 1:21.0.10.0.7-1.el10 |
| redhat/java-25-openjdk(Red Hat:enterprise_linux:10.1) | < 1:25.0.2.0.10-1.el10 | 1:25.0.2.0.10-1.el10 |
| redhat libpng(Red Hat:enterprise_linux_eus:10.0) | < 2:1.6.40-8.el10_0.1 | 2:1.6.40-8.el10_0.1 |
| redhat/java-21-openjdk(Red Hat:enterprise_linux_eus:10.0) | < 1:21.0.10.0.7-1.el10 | 1:21.0.10.0.7-1.el10 |
| redhat libpng(Red Hat:rhel_els:7) | < 2:1.5.13-8.el7_9.1 | 2:1.5.13-8.el7_9.1 |
| redhat/java-17-openjdk(Red Hat:enterprise_linux:8) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-21-openjdk(Red Hat:enterprise_linux:8) | < 1:21.0.10.0.7-1.el8 | 1:21.0.10.0.7-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:enterprise_linux:8) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat/mingw-libpng(Red Hat:enterprise_linux:8::crb) | < 1.6.34-1.el8_10 | 1.6.34-1.el8_10 |
| redhat libpng(Red Hat:enterprise_linux:8) | < 2:1.6.34-9.el8_10 | 2:1.6.34-9.el8_10 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_aus:8.2) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_aus:8.2) | < 2:1.6.34-8.el8_2.1 | 2:1.6.34-8.el8_2.1 |
| redhat/java-17-openjdk(Red Hat:rhel_aus:8.4) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_aus:8.4) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_aus:8.4) | < 2:1.6.34-8.el8_4.1 | 2:1.6.34-8.el8_4.1 |
| redhat/java-17-openjdk(Red Hat:rhel_eus_long_life:8.4) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_eus_long_life:8.4) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_eus_long_life:8.4) | < 2:1.6.34-8.el8_4.1 | 2:1.6.34-8.el8_4.1 |
| redhat/java-17-openjdk(Red Hat:rhel_aus:8.6) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_aus:8.6) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_aus:8.6) | < 2:1.6.34-8.el8_6.1 | 2:1.6.34-8.el8_6.1 |
| redhat/java-17-openjdk(Red Hat:rhel_tus:8.6) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_tus:8.6) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_tus:8.6) | < 2:1.6.34-8.el8_6.1 | 2:1.6.34-8.el8_6.1 |
| redhat/java-17-openjdk(Red Hat:rhel_e4s:8.6) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_e4s:8.6) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_e4s:8.6) | < 2:1.6.34-8.el8_6.1 | 2:1.6.34-8.el8_6.1 |
| redhat/java-17-openjdk(Red Hat:rhel_tus:8.8) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_tus:8.8) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_tus:8.8) | < 2:1.6.34-8.el8_8.1 | 2:1.6.34-8.el8_8.1 |
| redhat/java-17-openjdk(Red Hat:rhel_e4s:8.8) | < 1:17.0.18.0.8-1.el8 | 1:17.0.18.0.8-1.el8 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_e4s:8.8) | < 1:1.8.0.482.b08-1.el8 | 1:1.8.0.482.b08-1.el8 |
| redhat libpng(Red Hat:rhel_e4s:8.8) | < 2:1.6.34-8.el8_8.1 | 2:1.6.34-8.el8_8.1 |
| redhat libpng(Red Hat:enterprise_linux:9) | < 2:1.6.37-12.el9_7.1 | 2:1.6.37-12.el9_7.1 |
| redhat/java-17-openjdk(Red Hat:enterprise_linux:9) | < 1:17.0.18.0.8-1.el9 | 1:17.0.18.0.8-1.el9 |
| redhat/java-21-openjdk(Red Hat:enterprise_linux:9) | < 1:21.0.10.0.7-1.el9 | 1:21.0.10.0.7-1.el9 |
| redhat/java-1.8.0-openjdk(Red Hat:enterprise_linux:9) | < 1:1.8.0.482.b08-1.el9 | 1:1.8.0.482.b08-1.el9 |
| redhat/java-25-openjdk(Red Hat:enterprise_linux:9) | < 1:25.0.2.0.10-1.el9 | 1:25.0.2.0.10-1.el9 |
| redhat libpng(Red Hat:rhel_e4s:9.0) | < 2:1.6.37-12.el9_0.1 | 2:1.6.37-12.el9_0.1 |
| redhat/java-17-openjdk(Red Hat:rhel_e4s:9.0) | < 1:17.0.18.0.8-1.el9 | 1:17.0.18.0.8-1.el9 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_e4s:9.0) | < 1:1.8.0.482.b08-1.el9 | 1:1.8.0.482.b08-1.el9 |
| redhat libpng(Red Hat:rhel_e4s:9.2) | < 2:1.6.37-12.el9_2.1 | 2:1.6.37-12.el9_2.1 |
| redhat/java-17-openjdk(Red Hat:rhel_e4s:9.2) | < 1:17.0.18.0.8-1.el9 | 1:17.0.18.0.8-1.el9 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_e4s:9.2) | < 1:1.8.0.482.b08-1.el9 | 1:1.8.0.482.b08-1.el9 |
| redhat libpng(Red Hat:rhel_eus:9.4) | < 2:1.6.37-12.el9_4.1 | 2:1.6.37-12.el9_4.1 |
| redhat/java-17-openjdk(Red Hat:rhel_eus:9.4) | < 1:17.0.18.0.8-1.el9 | 1:17.0.18.0.8-1.el9 |
| redhat/java-21-openjdk(Red Hat:rhel_eus:9.4) | < 1:21.0.10.0.7-1.el9 | 1:21.0.10.0.7-1.el9 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_eus:9.4) | < 1:1.8.0.482.b08-1.el9 | 1:1.8.0.482.b08-1.el9 |
| redhat libpng(Red Hat:rhel_eus:9.6) | < 2:1.6.37-12.el9_6.1 | 2:1.6.37-12.el9_6.1 |
| redhat/java-17-openjdk(Red Hat:rhel_eus:9.6) | < 1:17.0.18.0.8-1.el9 | 1:17.0.18.0.8-1.el9 |
| redhat/java-21-openjdk(Red Hat:rhel_eus:9.6) | < 1:21.0.10.0.7-1.el9 | 1:21.0.10.0.7-1.el9 |
| redhat/java-1.8.0-openjdk(Red Hat:rhel_eus:9.6) | < 1:1.8.0.482.b08-1.el9 | 1:1.8.0.482.b08-1.el9 |
| redhat/java-11-openjdk(Red Hat:openjdk_els:11::el7) | < 1:11.0.30.0.7-1.el7_9 | 1:11.0.30.0.7-1.el7_9 |
| redhat/java-11-openjdk(Red Hat:openjdk_els:11::el8) | < 1:11.0.30.0.7-1.el8 | 1:11.0.30.0.7-1.el8 |
| redhat/java-11-openjdk(Red Hat:openjdk_els:11::el9) | < 1:11.0.30.0.7-1.el9 | 1:11.0.30.0.7-1.el9 |
| redhat/discovery/discovery-ui-rhel9:1767904573(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/libpng-main(Red Hat:hummingbird:1) | < 1.6.56-1.hum1 | 1.6.56-1.hum1 |
| redhat/libpng-main(Red Hat:hummingbird:1) | < 1.6.58-2.1.hum1 | 1.6.58-2.1.hum1 |
| redhat/java-21-openjdk-portable(Red Hat:openjdk_els:11) | All versions | No fix listed |
| redhat/java-21-openjdk-portable(Red Hat:openjdk:17) | All versions | No fix listed |
| redhat/java-21-openjdk-portable-rhel7(Red Hat:openjdk:21) | All versions | No fix listed |
| redhat libpng(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/java-11-openjdk(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/libpng1.6(Ubuntu:24.04) | < 1.6.43-5ubuntu0.1 | 1.6.43-5ubuntu0.1 |
| libpng | >= 1.6.0, < 1.6.51 | 1.6.51 |
References
- MSRC Security Update Guide vendor-advisory
- KB5082123 patch
- KB5082123 vendor-advisory
- KB5082142 patch
- KB5082142 vendor-advisory
- KB5082200 patch
- KB5082200 vendor-advisory
- KB5082063 patch
- KB5082063 vendor-advisory
- KB5083769 patch
- KB5083769 vendor-advisory
- KB5082052 patch
- KB5082052 vendor-advisory
- KB5082060 patch
- KB5082060 vendor-advisory
- KB5083768 patch
- KB5083768 vendor-advisory
- KB5082198 patch
- KB5082198 vendor-advisory
- KB5082127 patch
- KB5082127 vendor-advisory
- KB5082126 patch
- KB5082126 vendor-advisory
- Debian Security Tracker CVE-2025-64720 vendor-advisory
- https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww exploit vendor-advisory
- https://github.com/pnggroup/libpng/issues/686 exploit issue-tracking
- https://github.com/pnggroup/libpng/pull/751 issue-tracking patch
- https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643 patch
- Ubuntu CVE tracker vendor-advisory
- USN-7924-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:0848 patch vendor-advisory
- RHSA-2026:0849 patch vendor-advisory
- RHSA-2026:0897 patch vendor-advisory
- RHSA-2026:0899 patch vendor-advisory
- RHSA-2026:0901 patch vendor-advisory
- RHSA-2026:0895 patch vendor-advisory
- RHSA-2026:0237 patch vendor-advisory
- RHSA-2026:0928 patch vendor-advisory
- RHSA-2026:0933 patch vendor-advisory
- RHSA-2026:0212 patch vendor-advisory
- RHSA-2026:0251 patch vendor-advisory
- RHSA-2026:0927 patch vendor-advisory
- RHSA-2026:0932 patch vendor-advisory
- RHSA-2026:0125 patch vendor-advisory
- RHSA-2026:0241 patch vendor-advisory
- RHSA-2026:0323 patch vendor-advisory
- RHSA-2026:0321 patch vendor-advisory
- RHSA-2026:0322 patch vendor-advisory
- RHSA-2026:0313 patch vendor-advisory
- RHSA-2026:0238 patch vendor-advisory
- RHSA-2026:0234 patch vendor-advisory
- RHSA-2026:0216 patch vendor-advisory
- RHSA-2026:0211 patch vendor-advisory
- RHSA-2026:0210 patch vendor-advisory
- RHSA-2026:0847 patch vendor-advisory
- RHSA-2026:0414 patch vendor-advisory
- RHSA-2026:6732 patch vendor-advisory
- RHSA-2026:80330 patch vendor-advisory
- Red Hat Bugzilla 2416904 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking