Information disclosure and crash via oversized row copy
Published Jan 12, 2026 · Updated Jan 12, 2026
Heap over-read in libpng 1.6.51 through 1.6.53 allows attackers to disclose heap data or crash applications via crafted PNGs. In png_image_read_direct_scaled, memcpy uses the caller-supplied row stride as its copy length although local_row is allocated only for the decoded row width. Exploitation requires an application to process an untrusted interlaced 16-bit PNG through the simplified API with 8-bit output and a padded or negative stride; default-stride callers are unaffected.
Summary
What happened
Heap over-read in libpng 1.6.51 through 1.6.53 allows attackers to disclose heap data or crash applications via crafted PNGs. In png_image_read_direct_scaled, memcpy uses the caller-supplied row stride as its copy length although local_row is allocated only for the decoded row width. Exploitation requires an application to process an untrusted interlaced 16-bit PNG through the simplified API with 8-bit output and a padded or negative stride; default-stride callers are unaffected.
The record
- CVE
- CVE-2026-22695
- Published
- Jan 12, 2026
- Updated
- Jan 12, 2026
- Vendor
- PNG Development Group
- Product
- libpng
- Classifications
- CWE-125, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 12, 2026CVE publishedPublication date reported by the CVE source.
- Jan 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.6.54
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA-mmq5-27w3-rxpp reproduction procedureproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo