CVE-2026-22695

Published Jan 12, 2026

Last updated 5 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-22695 describes a heap buffer over-read vulnerability found in the libpng library, affecting versions 1.6.51 through 1.6.53. This flaw specifically occurs within the `png_image_finish_read` function, which is part of libpng's simplified API. The vulnerability is triggered when the library processes interlaced 16-bit PNG image files that are configured for an 8-bit output format and utilize a non-minimal row stride. This issue is identified as a regression stemming from a previous fix for CVE-2025-65018, and it has been addressed in libpng version 1.6.54.

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.
Source
security-advisories@github.com
NVD status
Analyzed
Products
libpng

Risk scores

CVSS 3.1

Type
Primary
Base score
7.1
Impact score
5.2
Exploitability score
1.8
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-125

Social media

Hype score
Not currently trending

Configurations