CVE-2025-64720

EUVD-2025-199237
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.1 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
GitHub_MCNA
7.1 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 21%
Affected Products (NVD)
VendorProductVersion
libpnglibpng
1.6.0 ≤
𝑥
< 1.6.51
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libpng1.6
bookworm
1.6.39-2+deb12u1
fixed
bookworm (security)
1.6.39-2+deb12u3
fixed
bullseye
vulnerable
bullseye (security)
1.6.37-3+deb11u2
fixed
forky
1.6.55-1
fixed
sid
1.6.55-1
fixed
trixie
1.6.48-1+deb13u1
fixed
trixie (security)
1.6.48-1+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libpng
jammy
dne
noble
dne
plucky
dne
questing
dne
trusty
not-affected
xenial
not-affected
libpng1.6
bionic
Fixed 1.6.34-1ubuntu0.18.04.2+esm1
released
focal
Fixed 1.6.37-2ubuntu0.1~esm1
released
jammy
Fixed 1.6.37-3ubuntu0.1
released
noble
Fixed 1.6.43-5ubuntu0.1
released
plucky
Fixed 1.6.47-1.1ubuntu0.1
released
questing
Fixed 1.6.50-1ubuntu0.1
released
xenial
Fixed 1.6.20-2ubuntu0.1~esm2
released
firefox
jammy
not-affected
noble
not-affected
plucky
not-affected
questing
not-affected
thunderbird
jammy
not-affected
noble
not-affected
plucky
ignored
questing
not-affected
chromium-browser
jammy
not-affected
noble
not-affected
plucky
not-affected
questing
not-affected