# CVE-2025-66293: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.

Source: https://junglewise.ai/threats/cve-2025-66293-libpng-is-a-reference-library-for-use-in-applications-that-read  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-03  
License: CC BY 4.0 with a link back

CVE-2025-66293 · Severity: high · CVSS 7.1 · Published 2025-12-03

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.

Technologies: [Libpng](https://junglewise.ai/threats/technologies/libpng). Vendors: [Libpng](https://junglewise.ai/threats/vendors/libpng).

## Quick answers

**Is CVE-2025-66293 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-66293 being exploited in the wild.

**How severe is CVE-2025-66293?** High severity, with a CVSS score of 7.1, published 3 December 2025.

**Which products and versions are affected?** Libpng. The advisory does not name versions.

**Is there a fix for CVE-2025-66293?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2025-66293?** Check whether you run Libpng. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Libpng

## Related threats

- [libpng use-after-free in chunk setter functions](https://junglewise.ai/threats/cve-2026-34757-libpng-use-after-free-in-chunk-setter-functions)
- [libpng heap buffer overflow in png_set_quantize](https://junglewise.ai/threats/cve-2026-25646-libpng-heap-buffer-overflow-in-png-set-quantize)
- [LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.](https://junglewise.ai/threats/cve-2025-65018-libpng-is-a-reference-library-for-use-in-applications-that-read)
- [LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.](https://junglewise.ai/threats/cve-2025-64720-libpng-is-a-reference-library-for-use-in-applications-that-read)
- [LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.](https://junglewise.ai/threats/cve-2025-64506-libpng-is-a-reference-library-for-use-in-applications-that-read)
