libpng up to 1.6.50 png_do_quantize heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in libpng up to 1.6.50. The impacted element is the function png_do_quantize. This manipulation causes heap-based overflow. This vulnerability is tracked as CVE-2025-64505. The attack is possible to be carried out remotely. No exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in libpng up to 1.6.50. Affected by this vulnerability is the function png_do_quantize. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.

It is possible to read the advisory at seclists.org. This vulnerability is known as CVE-2025-64505. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 276644 (Linux Distros Unpatched Vulnerability : CVE-2025-64505), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 1.6.51 eliminates this vulnerability. The upgrade is hosted for download at github.com.

The vulnerability is also documented in the databases at CNNVD (CNNVD-202511-2690), Tenable (276644), EUVD (EUVD-2025-199239) and CERT Bund (WID-SEC-2025-2663). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Fedora Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • Gentoo Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source libpng
  • Open Source GitLab
  • Meinberg LANTIME

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.2
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 6.1
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 276644
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-64505

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: libpng 1.6.51

Timelineinfo

11/22/2025 Advisory disclosed
11/22/2025 +0 days VulDB entry created
01/24/2026 +63 days VulDB entry last update

Sourcesinfo

Advisory: seclists.org
Status: Confirmed

CVE: CVE-2025-64505 (🔒)
GCVE (CVE): GCVE-0-2025-64505
GCVE (VulDB): GCVE-100-333307
EUVD: 🔒
CERT Bund: WID-SEC-2025-2663 - libpng: Mehrere Schwachstellen
CNNVD: CNNVD-202511-2690 - libpng 缓冲区错误漏洞

Entryinfo

Created: 11/22/2025 08:51
Updated: 01/24/2026 01:58
Changes: 11/22/2025 08:51 (53), 11/25/2025 01:44 (11), 11/25/2025 02:40 (1), 11/25/2025 03:18 (2), 11/25/2025 18:37 (6), 12/21/2025 05:10 (7), 01/06/2026 16:00 (1), 01/07/2026 11:21 (1), 01/08/2026 13:50 (1), 01/24/2026 01:58 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!