CVE-2026-22695

LIBPNG has a heap buffer over-read in png_image_read_direct_scaled (regression from CVE-2025-65018 fix)

HIGH
7.1
CVSS Score
Published: January 12, 2026 at 10:55 PM UTC
Updated: June 17, 2026 at 10:20 AM UTC
2 products affected across 2 vendorsLibpngLibpng

Using libpng by pnggroup?

Get instant alerts when new vulnerabilities affect libpng - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.51 to 1.6.53, there is a heap buffer over-read in the libpng simplified API function png_image_finish_read when processing interlaced 16-bit PNGs with 8-bit output format and non-minimal row stride. This is a regression introduced by the fix for CVE-2025-65018. This vulnerability is fixed in 1.6.54.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.6.51 ≤ v < 1.6.54
v < 1.6.54
Affected range stops below 1.6.54, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_CONFIRMExploitThird Party Advisory
Source: cverecord
https://github.com/pnggroup/libpng/security/advisories/GHSA-mmq5-27w3-rxpp
x_refsource_MISCExploitIssue TrackingThird Party Advisory
Source: cverecord
https://github.com/pnggroup/libpng/issues/778
x_refsource_MISCPatch
Source: cverecord
https://github.com/pnggroup/libpng/commit/e4f7ad4ea2

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card