pnggroup · GitLab · published 2025-11-24
CVE-2025-64720LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication
This month Public proof-of-concept exists (SSVC exploitation: poc).
CVE-2025-64720 has a public proof-of-concept exploit, but no confirmed exploitation in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 39% of all CVEs. This GitLab vulnerability: CVSS 7.1 (v3.1). Fixed upstream in GitLab 18.7.1, 18.6.3, 18.5.5. Patch in your normal monthly cycle.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in GitLab 18.7.1, 18.6.3, 18.5.5.
Patch events
DevOpsGitLab
GitLab security releases: 18.7.1, 18.6.3, 18.5.5
Upgrade to
18.7.118.6.318.5.5Why: CVE-2025-64720: Public proof-of-concept exists (SSVC exploitation: poc).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.4% (40th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.1 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | CNA / CISA ADP |
| SSVC exploitation | poc | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- pnggroup libpng
>= 1.6.0, < 1.6.51(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.