# CVE-2025-64720: LIBPNG is vulnerable to a buffer overflow in \`png\_image\_read\_composite\` via incorrect palette premultiplication

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.6.51 (CNA); fix release not confirmed
- Status: published
- Published: 2025-11-24 · Modified: 2025-11-25
- Aliases: ALPINE-CVE-2025-64720, SUSE-SU-2026:2619-1, RHSA-2026:0251, UBUNTU-CVE-2025-64720, DEBIAN-CVE-2025-64720, CGA-6j37-cxwx-h5jq, CGA-98c8-67jj-974w
- Record: https://cvemate.com/vulnerability/CVE-2025-64720 · JSON: https://cvemate.com/vulnerability/CVE-2025-64720/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 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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- EPSS: 0.447%, percentile 40.591%, 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.6.0, \< 1.6.53-r0 \| ≥ 1.6.0, \< 1.6.51-r0
- chainguard libpng (Chainguard): \< 1.6.51-r0
- wolfi libpng (Wolfi): \< 1.6.51-r0
- debian libpng1.6 (Debian): \< 1.6.39-2+deb12u1 \| \< 1.6.48-1+deb13u1 \| \< 1.6.51-1
- ubuntu libpng1.6 (Ubuntu): \< 1.6.20-2ubuntu0.1~esm2 \| \< 1.6.34-1ubuntu0.18.04.2+esm1 \| \< 1.6.37-2ubuntu0.1~esm1 \| \< 1.6.37-3ubuntu0.1 \| \< 1.6.43-5ubuntu0.1 \| \< 1.6.50-1ubuntu0.1
- libpng libpng: ≥ 1.6.0, \< 1.6.51
- pnggroup libpng: ≥ 1.6.0, \< 1.6.51
- redhat libpng (Red Hat): \< 2:1.5.13-8.el7\_9.1
- redhat libpng-debuginfo (Red Hat): \< 2:1.5.13-8.el7\_9.1
- redhat libpng-devel (Red Hat): \< 2:1.5.13-8.el7\_9.1
- redhat libpng-static (Red Hat): \< 2:1.5.13-8.el7\_9.1
- suse libpng15&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 1.5.30-10.13.1

## References

- <https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww>
- <https://github.com/pnggroup/libpng/issues/686>
- <https://github.com/pnggroup/libpng/pull/751>
- <https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643>
- <https://security.alpinelinux.org/vuln/CVE-2025-64720>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262619-1/>
- <https://bugzilla.suse.com/1254159>
- <https://www.suse.com/security/cve/CVE-2025-64720>
- <https://access.redhat.com/errata/RHSA-2026:0251>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2416904>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0251.json>
- <https://access.redhat.com/security/cve/CVE-2025-64720>
- <https://www.cve.org/CVERecord?id=CVE-2025-64720>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64720>
- <https://ubuntu.com/security/CVE-2025-64720>
- <https://www.openwall.com/lists/oss-security/2025/11/22/1>
- <https://ubuntu.com/security/notices/USN-7924-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-64720>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64720.json>

---

Data as of 2026-12-05T04:11:38.563Z. 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
