7.1

CVE-2025-65018: libpng Heap-based Buffer Overflow

CVSS: 7.1v3.1HighAnalyzed
AliasesALPINE-CVE-2025-65018UBUNTU-CVE-2025-65018DEBIAN-CVE-2025-65018
Published 24-11-2025Last modified 25-11-2025

Vulnerability summary

CVE-2025-65018 is a high (CVSS 7.1) Heap-based Buffer Overflow vulnerability in libpng. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 35 · Related 13

Timeline

  1. 24-11-2025
    PublishedVulnerability first disclosed.
  2. 25-11-2025
    Last 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. 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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

0.00 pp

From 0.26% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Libpng

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • libpng≥ 1.6.0, < 1.6.53-r0 | ≥ 1.6.0, < 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
Pnggroup1 product
Ubuntu1 product
  • 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
Wolfi1 product
  • libpng< 1.6.51-r0

7 vendors · 7 products

References

13 links
Show all 13 references