CVE-2026-3713 pnggroup libpng pnm2png pnm2png.c do_pnm2png heap-based overflow
A heap-based buffer overflow in libpng's pnm2png utility allows local attackers to execute arbitrary code or cause denial of service.
- 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-2026-3713?
CVE-2026-3713 is a medium-severity memory corruption vulnerability in pnggroup libpng, published on 8 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw has been found in pnggroup libpng up to 1.6.55. Affected by this vulnerability is the function do_pnm2png of the file contrib/pngminus/pnm2png.c of the component pnm2png. This manipulation of the argument width/height causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Which versions are affected by CVE-2026-3713?
How do I fix CVE-2026-3713?
No fix published yet.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-3713 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3713 exists.
Sources
Also known as AZL-79506, AZL-79512, AZL-79515, AZL-79517, AZL-79520, AZL-79523 and 6 more.