SecurityContext

CVE-2025-65018: LIBPNG - Buffer Overflow

  • Cve: CVE-2025-65018
  • Name: LIBPNG - Buffer Overflow
  • 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.
  • Impact: Attackers can cause heap buffer overflow leading to memory corruption and potential code execution.
  • Remediation: Update to version 1.6.51 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
  • Epss score: 0.00278
  • Epss percentile: 0.20455
  • Assignee: [email protected]
  • Published at: 2025-11-25T00:15:47Z
  • Age in days: 364
  • Modified at: 2026-10-18T20:10:00Z
  • Patch available: yes
  • Public exploits total: 4
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-65018
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow

Public exploits

UrlSourceAdded date
https://github.com/pnggroup/libpng/issues/755nvd2025-11-25
https://github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3gnvd2025-11-25
https://github.com/bohemian-miser/CVE-2025-65018_Exploit_Challengepoc-in-github2025-12-09
https://github.com/Neo-Neo6/CVE-2025-65018-Heap-buffer-overflow-in-libpng-ps4-ps5-poc-in-github2025-11-23

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/pnggroup/libpng/commit/16b5e3823918840aae65c0a6da57c78a5a496a4dPatch
https://github.com/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1eaPatch
https://github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3gExploit, Vendor Advisory
https://github.com/pnggroup/libpng/issues/755Exploit, Issue Tracking
https://github.com/pnggroup/libpng/pull/757Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
libpng:libpng>= 1.6.0, < 1.6.51nonvd/v1/products/libpng/libpng

Projects

RepositoryLink kindsIndexedUrl
pnggroup/libpngcommit, fix, issues, pull, security_advisoryyes/v1/repositories/pnggroup/libpng

Index

  • Repositories: 2888
  • Repositories high signal: 1766
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 4
  • Public exploit first date: 2025-11-23
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts