libpng up to 1.6.56 Chunk Setter API png_set_hIST use after free

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.
5.2$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in libpng up to 1.6.56. This affects the function png_set_hIST of the component Chunk Setter API. The manipulation leads to use after free. This vulnerability is uniquely identified as CVE-2026-34757. The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in libpng up to 1.6.56. It has been rated as critical. This issue affects the function png_set_hIST of the component Chunk Setter API. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is 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. From 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back into the corresponding setter on the same png_struct/png_info pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.

It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-34757. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. 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 305709 (Linux Distros Unpatched Vulnerability : CVE-2026-34757), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 1.6.57 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (305709), EUVD (EUVD-2026-20897) and CERT Bund (WID-SEC-2026-1023). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Amazon Linux 2
  • SUSE Linux
  • SUSE openSUSE
  • Microsoft Azure Linux
  • Open Source libpng

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.2

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

NVD Base Score: 4.4
NVD Vector: 🔒

CNA Base Score: 5.1
CNA Vector: 🔒

CVSSv2info

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

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

Exploitinginfo

Class: Use after free
CWE: CWE-416 / 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: 305709
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-34757

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: libpng 1.6.57

Timelineinfo

04/09/2026 Advisory disclosed
04/09/2026 +0 days VulDB entry created
05/17/2026 +38 days VulDB entry last update

Sourcesinfo

Advisory: github.com
Status: Confirmed
Confirmation: 🔒

CVE: CVE-2026-34757 (🔒)
GCVE (CVE): GCVE-0-2026-34757
GCVE (VulDB): GCVE-100-356507
EUVD: 🔒
CERT Bund: WID-SEC-2026-1023 - libpng: Schwachstelle ermöglicht Offenlegung von Informationen

Entryinfo

Created: 04/09/2026 11:12
Updated: 05/17/2026 08:19
Changes: 04/09/2026 11:12 (54), 04/12/2026 23:09 (2), 04/22/2026 02:15 (7), 05/02/2026 03:06 (1), 05/10/2026 03:20 (1), 05/17/2026 08:19 (21)
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.

Might our Artificial Intelligence support you?

Check our Alexa App!