CVE-2025-28164 Memory corruption in n/a
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.
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.
Other vulnerabilities in Libpng Libpng
- CVE-2017-12652 Denial of service in n/a
- CVE-2018-14550 Out-of-bounds write in libpng
- CVE-2026-25646 LIBPNG has a heap buffer overflow in png_set_quantize
- CVE-2026-33636 LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64
- CVE-2026-33416 LIBPNG has use-after-free via pointer aliasing in `png_set_tRNS` and `png_set_PLTE`
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.