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

Medium 6.1 Published Updated

A heap buffer over-read in libpng allows attackers to cause denial of service or disclose memory contents via crafted PNG files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-22695?

CVE-2026-22695 is a medium-severity memory corruption vulnerability in Libpng Libpng, published on 12 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2026-22695?

It affects 1 product.

Linux distribution packages (1)
libpng16 SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.6.8-15.15.1

Products include Libpng Libpng.

How do I fix CVE-2026-22695?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-22695 being exploited?

There is no known exploitation of CVE-2026-22695 in the wild and no public exploit code.

All Libpng Libpng vulnerabilities

Sources

Also known as ALPINE-CVE-2026-22695, AZL-74267, AZL-74280, BELL-CVE-2026-22695, CLEANSTART-2026-ZH25873, DEBIAN-CVE-2026-22695 and 7 more.

Is CVE-2026-22695 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free