CVE-2025-65018 | LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read`

Exp

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.

Published: 2025-11-25 Last update: 2025-11-26 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-65018 is rated Exploit Available (50.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.07%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-65018

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-65018

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-30 0.05% 0.07% +0.02%
2 2026-04-23 0.07% 0.05% -0.02%
3 2026-03-02 0.07%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-65018

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.2 [email protected]

Weakness enumeration for CVE-2025-65018

OS Trackers for CVE-2025-65018

vendor priority summary link
alpine high CVE-2025-65018: 1 source package rows (libpng); 19 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 4, open 15. https://security.alpinelinux.org/vuln/CVE-2025-65018
debian not yet assigned CVE-2025-65018 not yet assigned priority: Debian including 1 source packages (libpng1.6), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-65018
gentoo high CVE-2025-65018: 1 GLSA(s) (202511-06), 1 atom(s) (media-libs/libpng); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2025-65018
redhat high https://access.redhat.com/security/cve/CVE-2025-65018
suse medium CVE-2025-65018 severity moderate: SUSE including 538 source package names (2.0.4-5.8.229:libpng16-16-1.6.34-150000.3.12.1, 2.1.3-7.76:libpng16-16-1.6.43-slfo.1.1_2.1, …), 1065 product×package rows across 319 product lines (Container private-registry/harbor-portal, Container suse/manager/5.0/x86_64/server, … (319 product lines)): Fixed 744, Known Affected 231, Known Not Affected 83, First Fixed 7. https://www.suse.com/security/cve/CVE-2025-65018/
ubuntu medium CVE-2025-65018 medium priority: Ubuntu including 5 source packages (chromium-browser, firefox, libpng, libpng1.6, thunderbird), 30 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): not-affected 13, released 9, DNE 5, needs-triage 2, ignored 1. https://ubuntu.com/security/CVE-2025-65018

Affected software / configurations for CVE-2025-65018

Vendor Product Version Raw CPE
libpng libpng >= 1.6.0, < 1.6.51 cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*

References for CVE-2025-65018

cvelogic Threat Intelligence