Skip to main content
CVE-2025-66293VulnerabilityPublished

CVE-2025-66293: pnggroup libpng · Out-of-bounds Read

Affects pnggroup libpngSource CVE Database V5

0

Not known to be exploited · CVSS 7.1 High : upgrade to 1.6.52 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.6.52
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade pnggroup/libpng to 1.6.52.

Affected software

ProductAffectedFixed in
GitHubpnggroup/libpngpkg:github/pnggroup/libpngOther threatsAffected
  • <1.6.52
Fixed in
  • 1.6.52

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-66293 effectively, European organizations should: 1) Identify all software and systems that use libpng, including embedded libraries in applications, and verify their libpng version. 2) Prioritize upgrading libpng to version 1.6.52 or later across all affected systems and software dependencies. 3) For third-party applications that bundle libpng, coordinate with vendors to obtain patched versions or apply vendor-provided updates. 4) Implement strict input validation and sandboxing for image processing components to limit the impact of malformed PNG files. 5) Employ network and email filtering to block or quarantine suspicious PNG files from untrusted sources, reducing the risk of user interaction with malicious images. 6) Educate users about the risks of opening unsolicited or suspicious image files, especially in email attachments or downloads. 7) Monitor application logs and system behavior for crashes or anomalies related to image processing that could indicate exploitation attempts. 8) Consider deploying runtime protections such as memory safety tools or exploit mitigation technologies (e.g., ASLR, DEP) to reduce the impact of out-of-bounds reads. These steps go beyond generic patching by addressing detection, prevention, and user awareness.

Description

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.

References

Community reviews

Loading reviews…