CVE-2025-28164 Memory corruption in n/a

Medium 5.5 Published Updated

A local attacker can cause a denial of service in libpng via a buffer overflow in png_create_read_struct.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-28164?

CVE-2025-28164 is a medium-severity memory corruption vulnerability in Libpng Libpng, published on 27 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer Overflow vulnerability in libpng 1.6.43-1.6.46 allows a local attacker to cause a denial of service via png_create_read_struct() function.

Weakness: CWE-401, CWE-120

Which versions are affected by CVE-2025-28164?

It affects 1 product.

Products include Libpng Libpng.

How do I fix CVE-2025-28164?

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-2025-28164 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-28164 exists.

All Libpng Libpng vulnerabilities

Sources

Also known as BELL-CVE-2025-28164, DEBIAN-CVE-2025-28164, ECHO-546d-3185-0d21, GHSA-gjxw-mrg7-952f, JLSEC-2026-10, MINI-226g-p2pw-3g3c and 2 more.

Is CVE-2025-28164 in your software?

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

Check your SBOMs for free