CVE-2025-64505: libpng Out-of-bounds Read
Vulnerability summary
CVE-2025-64505 is a medium (CVSS 6.1) Out-of-bounds Read vulnerability in libpng. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 16 · Related 14Timeline
- 24-11-2025PublishedVulnerability first disclosed.
- 25-11-2025Last modifiedVulnerability information updated.
Description
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- NVDNIST6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
0.00 pp
From 0.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse4 products
- libpng12&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 1.2.57-150000.4.3.1
- libpng12&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 1.2.57-150000.4.3.1
- libpng12&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 1.2.50-20.6.1
- libpng15&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 1.5.22-10.7.1
Opensuse2 products
- libpng12&distro=openSUSE Leap 15.6< 1.2.57-150000.4.3.1
- libpng12&distro=openSUSE Tumbleweed< 1.2.59-4.1
Ubuntu2 products
- libpng< 1.2.50-1ubuntu2.14.04.3+esm1 | < 1.2.54-1ubuntu1.1+esm2
- libpng1.6< 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
Alpine1 product
- libpng< 1.6.53-r0 | < 1.6.51-r0
Chainguard1 product
- libpng< 1.6.51-r0
Debian1 product
- libpng1.6< 1.6.39-2+deb12u1 | < 1.6.48-1+deb13u1 | < 1.6.51-1
Libpng1 product
- libpng< 1.6.51
Pnggroup1 product
- libpng< 1.6.51
Wolfi1 product
- libpng< 1.6.51-r0
9 vendors · 14 products
References
17 links- github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42X Refsource CONFIRMREPORTAdvisoryVendor Advisory
- github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37X Refsource MISCREPORTFIXPatch