# CVE-2025-66293: LIBPNG has an out-of-bounds read in png\_image\_read\_composite

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.6.52 (CNA); fix release not confirmed
- Status: published
- Published: 2025-12-03 · Modified: 2025-12-04
- Aliases: ALPINE-CVE-2025-66293, MGASA-2025-0323, SUSE-SU-2026:0085-1, UBUNTU-CVE-2025-66293, DEBIAN-CVE-2025-66293, CGA-8qqh-h9p6-x799, CGA-9m84-6r75-mjx3, openSUSE-SU-2025:15801-1
- Record: https://cvemate.com/vulnerability/CVE-2025-66293 · JSON: https://cvemate.com/vulnerability/CVE-2025-66293/json

## Description

```text
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.
```

## 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.38%, percentile 34.063%, 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.53-r0
- chainguard libpng (Chainguard): \< 1.6.52-r0
- wolfi libpng (Wolfi): \< 1.6.52-r0
- debian libpng1.6 (Debian): \< 1.6.39-2+deb12u1 \| \< 1.6.48-1+deb13u1 \| \< 1.6.52-1
- ubuntu libpng1.6 (Ubuntu): \< 1.6.20-2ubuntu0.1~esm3 \| \< 1.6.34-1ubuntu0.18.04.2+esm2 \| \< 1.6.37-2ubuntu0.1~esm2 \| \< 1.6.37-3ubuntu0.3 \| \< 1.6.43-5ubuntu0.3 \| \< 1.6.50-1ubuntu0.3
- libpng libpng: \< 1.6.52
- mageia libpng (Mageia): \< 1.6.38-1.2.mga9
- pnggroup libpng: \< 1.6.52
- opensuse libpng16&distro=openSUSE Tumbleweed (openSUSE): \< 1.6.52-1.1
- suse libpng16&distro=SUSE Linux Enterprise Server 12 SP5-LTSS (SUSE Linux Enterprise): \< 1.6.8-15.12.1
- suse libpng16&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 1.6.8-15.12.1

## References (first 20 of 21)

- <https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f>
- <https://github.com/pnggroup/libpng/issues/764>
- <https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1>
- <https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a>
- <http://www.openwall.com/lists/oss-security/2025/12/03/6>
- <http://www.openwall.com/lists/oss-security/2025/12/03/7>
- <http://www.openwall.com/lists/oss-security/2025/12/03/8>
- <https://security.alpinelinux.org/vuln/CVE-2025-66293>
- <https://advisories.mageia.org/MGASA-2025-0323.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34799>
- <https://www.openwall.com/lists/oss-security/2025/12/03/5>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20260085-1/>
- <https://bugzilla.suse.com/1254480>
- <https://www.suse.com/security/cve/CVE-2025-66293>
- <https://ubuntu.com/security/CVE-2025-66293>
- <https://www.cve.org/CVERecord?id=CVE-2025-66293>
- <https://ubuntu.com/security/notices/USN-7963-1>
- <https://ubuntu.com/security/notices/USN-8035-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-66293>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66293.json>

---

Data as of 2026-12-05T03:32:17.367Z. 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
