# CVE-2026-3713: pnggroup libpng pnm2png pnm2png.c do_pnm2png heap-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-08T06:02:11.204Z
- Modified: 2026-06-17T10:44:03.563Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- pnggroup libpng: 1.6.0; 1.6.1; 1.6.2; 1.6.3; 1.6.4; 1.6.5; 1.6.6; 1.6.7; 1.6.8; 1.6.9; 1.6.10; 1.6.11; and 44 more

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/biniamf/pocs/tree/main/pnm2png> (exploit)
- <https://vuldb.com/?id.349658> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.349658> (permissions-required, signature)
- <https://vuldb.com/?submit.761996> (third-party-advisory)
- <https://github.com/pnggroup/libpng/issues/794> (issue-tracking)
- <https://github.com/pnggroup/libpng/> (product)

## Sources

- CVE List: [CVE-2026-3713](https://www.cve.org/CVERecord?id=CVE-2026-3713), CVE Terms of Use, modified 2026-03-11
- NVD: [CVE-2026-3713](https://nvd.nist.gov/vuln/detail/CVE-2026-3713), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3713 · Whole record: https://cve.day/CVE-2026-3713.json · Rebuilt by cve.day 2026-11-25T22:59:15.502Z
