CVE-2025-65018 json
LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read`
published 2025-11-24 11 mo ago modified 2026-10-18 21 d ago also EUVD-2025-199236 , JLSEC-2025-331
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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, there is a heap buffer overflow vulnerability in the libpng simplified API function png_image_finish_read when processing 16-bit interlaced PNGs with 8-bit output format. Attacker-crafted interlaced PNG files cause heap writes beyond allocated buffer bounds. This issue has been patched in version 1.6.51.
Patch / fix
- julia libpng_jll 1.6.51+0
- libpng libpng 1.6.51
- libpng1.6 Debian 12 1.6.39-2+deb12u1
- libpng1.6 Debian 13 1.6.48-1+deb13u1
- libpng1.6 Debian 14 1.6.51-1
debian advisories DEBIAN-CVE-2025-65018
- libpng1.6 Ubuntu 22.04 LTS 1.6.37-3ubuntu0.1
- libpng1.6 Ubuntu 24.04 LTS 1.6.43-5ubuntu0.1
- libpng1.6 Ubuntu 25.10 1.6.50-1ubuntu0.1
- libpng1.6 Ubuntu Pro 16.04 LTS 1.6.20-2ubuntu0.1~esm2
- libpng1.6 Ubuntu Pro 18.04 LTS 1.6.34-1ubuntu0.18.04.2+esm1
- libpng1.6 Ubuntu Pro 20.04 LTS 1.6.37-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2025-65018
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libpng hummingbird 1 1.6.58-2.1.hum1
- libpng-tools hummingbird 1 1.6.58-2.1.hum1
- libpng hummingbird 1 1.6.56-1.hum1
- libpng-tools hummingbird 1 1.6.56-1.hum1
- java-25-openjdk RHEL 10.1 1:25.0.2.0.10-1.el10
- java-25-openjdk RHEL 9 1:25.0.2.0.10-1.el9
- java-25-openjdk-src RHEL 10.1 1:25.0.2.0.10-1.el10
- java-25-openjdk-src RHEL 9 1:25.0.2.0.10-1.el9
red hat advisories RHSA-2026:80330RHSA-2026:6732RHSA-2026:0933RHSA-2026:0932RHSA-2026:0928RHSA-2026:0927
- libpng16 Linux Micro 6.1 1.6.58-slfo.1.1_1.1
- libpng16 Linux Micro 6.0 1.6.58-1.1
- libpng16 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.6.44-160000.3.1
- libpng16 SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 1.6.40-150600.3.3.1
- libpng16 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +15 more 1.6.34-150000.3.12.1
- libpng16 Linux Micro 6.0 1.6.43-2.1
- libpng16 Linux Micro 6.1 1.6.43-slfo.1.1_2.1
- libpng16 SLES LTSS Extended Security 12 SP5 1.6.8-15.9.1
suse advisories SUSE-SU-2026:23514-1SUSE-SU-2026:23063-1SUSE-SU-2026:20030-1SUSE-SU-2026:20073-1SUSE-SU-2025:4533-1SUSE-SU-2025:4494-1
- libpng16 openSUSE Leap 16.0 1.6.44-160000.3.1
- libpng16 openSUSE Tumbleweed 1.6.51-1.1
opensuse advisories openSUSE-SU-2026:20017-1openSUSE-SU-2025:15781-1
- java-1.8.0-openjdk AlmaLinux 8 1:1.8.0.482.b08-1.el8
- java-1.8.0-openjdk AlmaLinux 9 1:1.8.0.482.b08-1.el9.alma.1
- java-1.8.0-openjdk-src AlmaLinux 8 1:1.8.0.482.b08-1.el8
- java-1.8.0-openjdk-src AlmaLinux 9 1:1.8.0.482.b08-1.el9.alma.1
- java-1.8.0-openjdk-demo AlmaLinux 8 1:1.8.0.482.b08-1.el8
- java-1.8.0-openjdk-demo AlmaLinux 9 1:1.8.0.482.b08-1.el9.alma.1
- java-1.8.0-openjdk-javadoc AlmaLinux 8 1:1.8.0.482.b08-1.el8
- java-1.8.0-openjdk-javadoc AlmaLinux 9 1:1.8.0.482.b08-1.el9.alma.1
almalinux advisories ALSA-2026:0932ALSA-2026:0933ALSA-2026:0927ALSA-2026:0928ALSA-2026:0237ALSA-2026:0238
- java-25-openjdk Rocky Linux 9 1:25.0.2.0.10-1.el9
- java-1.8.0-openjdk Rocky Linux 8 1:1.8.0.482.b08-1.el8
- java-17-openjdk Rocky Linux 8 1:17.0.18.0.8-1.el8
- java-21-openjdk Rocky Linux 8 1:21.0.10.0.7-1.el8
- libpng Rocky Linux 10 2:1.6.40-8.el10_1.1
- libpng Rocky Linux 9 2:1.6.37-12.el9_7.1
- libpng Rocky Linux 8 2:1.6.34-9.el8_10
- mingw-libpng Rocky Linux 8 1.6.34-1.el8_10
rocky linux advisories RLSA-2026:0933RLSA-2026:0932RLSA-2026:0927RLSA-2026:0928RLSA-2026:0237RLSA-2026:0238
- libpng Alpine 3.21, Alpine 3.20 1.6.53-r0
- libpng Alpine 3.24, Alpine 3.23, Alpine 3.22 1.6.51-r0
alpine advisories ALPINE-CVE-2025-65018
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libpng CBL-Mariner 2.0, Azure Linux 3.0 1.6.51-1
azure linux advisories AZL-70925AZL-70978
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/pnggroup/libpng@16b5e38 commit
- github.com/pnggroup/libpng@218612d commit
- github.com/pnggroup/libpng#757 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-65018 updated cvss 7.1
libpng: LIBPNG heap buffer overflow
-
Red Hat build of OpenJDK 11 ELS java-21-openjdk-portable Red Hat build of OpenJDK 17 java-21-openjdk-portable Red Hat build of OpenJDK 21 java-21-openjdk-portable-rhel7affected: workaround, no fix available
-
Red Hat Enterprise Linux 6 libpngaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available
-
Red Hat OPENJDK ELS 11.0.30fixed: vendor fix RHSA-2026:0848
-
Red Hat Build of OpenJDK 8u482fixed: vendor fix RHSA-2026:0895
-
Red Hat Build of OpenJDK 17.0.18fixed: vendor fix RHSA-2026:0897
-
Red Hat Build of OpenJDK 21.0.10fixed: vendor fix RHSA-2026:0899
-
Red Hat Build of OpenJDK 25.0.2fixed: vendor fix RHSA-2026:0901
show 16 moreshow fewer
-
Red Hat CodeReady Linux Builder EUS (v.9.4) java-17-openjdk-fastdebug 17.0.18.0.8-1.el9, java-17-openjdk-slowdebug 17.0.18.0.8-1.el9, java-21-openjdk-fastdebug 21.0.10.0.7-1.el9, java-21-openjdk-slowdebug 21.0.10.0.7-1.el9, java-17-openjdk-src-fastdebug 17.0.18.0.8-1.el9, java-17-openjdk-src-slowdebug 17.0.18.0.8-1.el9, +32 more Red Hat CodeReady Linux Builder EUS (v.9.6) java-17-openjdk-fastdebug 17.0.18.0.8-1.el9, java-17-openjdk-slowdebug 17.0.18.0.8-1.el9, java-21-openjdk-fastdebug 21.0.10.0.7-1.el9, java-21-openjdk-slowdebug 21.0.10.0.7-1.el9, java-17-openjdk-src-fastdebug 17.0.18.0.8-1.el9, java-17-openjdk-src-slowdebug 17.0.18.0.8-1.el9, +32 morefixed: vendor fix RHSA-2026:0928
-
Red Hat Discovery 2 discovery 1767904573fixed: vendor fix RHSA-2026:0414
-
Red Hat Enterprise Linux AppStream (v. 8) java-17-openjdk 17.0.18.0.8-1.el8, java-21-openjdk 21.0.10.0.7-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-21-openjdk-src 21.0.10.0.7-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, +17 more Red Hat Enterprise Linux AppStream (v. 9) libpng 1.6.37-12.el9_7.1, java-17-openjdk 17.0.18.0.8-1.el9, java-21-openjdk 21.0.10.0.7-1.el9, java-25-openjdk 25.0.2.0.10-1.el9, java-17-openjdk-src 17.0.18.0.8-1.el9, java-21-openjdk-src 21.0.10.0.7-1.el9, +26 more Red Hat Enterprise Linux AppStream (v. 10) libpng 1.6.40-8.el10_1.1, java-21-openjdk 21.0.10.0.7-1.el10, java-25-openjdk 25.0.2.0.10-1.el10, java-21-openjdk-src 21.0.10.0.7-1.el10, java-25-openjdk-src 25.0.2.0.10-1.el10, java-21-openjdk-demo 21.0.10.0.7-1.el10, +12 morefixed: vendor fix RHSA-2026:0928
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-1.8.0-openjdk-src 1.8.0.482.b08-1.el8, java-1.8.0-openjdk-demo 1.8.0.482.b08-1.el8, java-1.8.0-openjdk-javadoc 1.8.0.482.b08-1.el8, java-1.8.0-openjdk-headless 1.8.0.482.b08-1.el8, java-1.8.0-openjdk-javadoc-zip 1.8.0.482.b08-1.el8, +1 more Red Hat Enterprise Linux AppStream AUS (v.8.4) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +9 more Red Hat Enterprise Linux AppStream AUS (v.8.6) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +9 more Red Hat Enterprise Linux AppStream E4S (v.8.6) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +9 more Red Hat Enterprise Linux AppStream E4S (v.8.8) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +9 more Red Hat Enterprise Linux AppStream E4S (v.9.0) libpng 1.6.37-12.el9_0.1, java-17-openjdk 17.0.18.0.8-1.el9, java-17-openjdk-src 17.0.18.0.8-1.el9, java-1.8.0-openjdk 1.8.0.482.b08-1.el9, java-17-openjdk-demo 17.0.18.0.8-1.el9, java-17-openjdk-jmods 17.0.18.0.8-1.el9, +9 morefixed: vendor fix RHSA-2026:0932
+1 more productsfewer
Red Hat Enterprise Linux AppStream E4S (v.9.2) libpng 1.6.37-12.el9_2.1, java-17-openjdk 17.0.18.0.8-1.el9, java-17-openjdk-src 17.0.18.0.8-1.el9, java-1.8.0-openjdk 1.8.0.482.b08-1.el9, java-17-openjdk-demo 17.0.18.0.8-1.el9, java-17-openjdk-jmods 17.0.18.0.8-1.el9, +9 more -
Red Hat Enterprise Linux AppStream EUS (v. 10.0) libpng 1.6.40-8.el10_0.1, java-21-openjdk 21.0.10.0.7-1.el10, java-21-openjdk-src 21.0.10.0.7-1.el10, java-21-openjdk-demo 21.0.10.0.7-1.el10, java-21-openjdk-jmods 21.0.10.0.7-1.el10, java-21-openjdk-javadoc 21.0.10.0.7-1.el10, +3 more Red Hat Enterprise Linux AppStream EUS (v.9.4) libpng 1.6.37-12.el9_4.1, java-17-openjdk 17.0.18.0.8-1.el9, java-21-openjdk 21.0.10.0.7-1.el9, java-17-openjdk-src 17.0.18.0.8-1.el9, java-21-openjdk-src 21.0.10.0.7-1.el9, java-1.8.0-openjdk 1.8.0.482.b08-1.el9, +17 more Red Hat Enterprise Linux AppStream EUS (v.9.6) libpng 1.6.37-12.el9_6.1, java-17-openjdk 17.0.18.0.8-1.el9, java-21-openjdk 21.0.10.0.7-1.el9, java-17-openjdk-src 17.0.18.0.8-1.el9, java-21-openjdk-src 21.0.10.0.7-1.el9, java-1.8.0-openjdk 1.8.0.482.b08-1.el9, +17 morefixed: vendor fix RHSA-2026:0928
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +23 more Red Hat Enterprise Linux AppStream TUS (v.8.6) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +9 more Red Hat Enterprise Linux AppStream TUS (v.8.8) java-17-openjdk 17.0.18.0.8-1.el8, java-17-openjdk-src 17.0.18.0.8-1.el8, java-1.8.0-openjdk 1.8.0.482.b08-1.el8, java-17-openjdk-demo 17.0.18.0.8-1.el8, java-17-openjdk-jmods 17.0.18.0.8-1.el8, java-17-openjdk-javadoc 17.0.18.0.8-1.el8, +9 morefixed: vendor fix RHSA-2026:0932
-
Red Hat Enterprise Linux BaseOS (v. 8) libpng 1.6.34-9.el8_10fixed: vendor fix RHSA-2026:0241
-
Red Hat Enterprise Linux BaseOS (v. 9) libpng 1.6.37-12.el9_7.1fixed: vendor fix RHSA-2026:0238
-
Red Hat Enterprise Linux BaseOS (v. 10) libpng 1.6.40-8.el10_1.1fixed: vendor fix RHSA-2026:0237
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) libpng 1.6.34-8.el8_2.1fixed: vendor fix RHSA-2026:0323
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) libpng 1.6.34-8.el8_4.1fixed: vendor fix RHSA-2026:0321
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) libpng 1.6.34-8.el8_6.1 Red Hat Enterprise Linux BaseOS E4S (v.8.6) libpng 1.6.34-8.el8_6.1fixed: vendor fix RHSA-2026:0322
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) libpng 1.6.34-8.el8_8.1fixed: vendor fix RHSA-2026:0313
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) libpng 1.6.37-12.el9_0.1fixed: vendor fix RHSA-2026:0234
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) libpng 1.6.37-12.el9_2.1fixed: vendor fix RHSA-2026:0216
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) libpng 1.6.40-8.el10_0.1fixed: vendor fix RHSA-2026:0212
13 more fixed, 5 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 11 mo ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3g referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/pnggroup/libpng/issues/755 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| OSV | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | libpng_jll | <1.6.51+0 |
1.6.51+0 |
Affected products
- pnggroup libpng
Classification
References
-
github.com
/pnggroup/libpng/pull/757
issue-tracking, web
-
github.com
/pnggroup/libpng/commit/16b5e3823918840aae65c0a6da57c78a5a496a4d
patch, web
-
github.com
/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1ea
patch, web
-
github.com
/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3g
exploit, vendor-advisory, web
-
github.com
/pnggroup/libpng/issues/755
exploit, issue-tracking, web
Sources
- CVE List CVE-2025-65018
- NVD CVE-2025-65018
- OSV JLSEC-2025-331
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.