Vulnerability · Published Mar 8, 2026 · Assigned by VulDB
CVE-2026-3713pnggroup libpng pnm2png pnm2png.c do_pnm2png heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in libpng from pnggroup. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libpng1.6 | no fix listed | DEBIAN-CVE-2026-3713 |
| Debian:13 | libpng1.6 | no fix listed | DEBIAN-CVE-2026-3713 |
| Debian:14 | libpng1.6 | no fix listed | DEBIAN-CVE-2026-3713 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C
References
- VDB-349658 | pnggroup libpng pnm2png pnm2png.c do_pnm2png heap-based overflow vdb-entry, technical-description
- VDB-349658 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #761996 | libpng pnm2png 1.8.0 Integer Overflow to Buffer Overflow third-party-advisory
- https://github.com/pnggroup/libpng/issues/794 issue-tracking
- https://github.com/biniamf/pocs/tree/main/pnm2png exploit
- https://github.com/pnggroup/libpng/ product