pnggroup libpng pnm2png pnm2png.c do_pnm2png heap-based overflow
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| 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; 1.6.12; 1.6.13; 1.6.14; 1.6.15; 1.6.16; 1.6.17; 1.6.18; 1.6.19; 1.6.20; 1.6.21; 1.6.22; 1.6.23; 1.6.24; 1.6.25; 1.6.26; 1.6.27; 1.6.28; 1.6.29; 1.6.30; 1.6.31; 1.6.32; 1.6.33; 1.6.34; 1.6.35; 1.6.36; 1.6.37; 1.6.38; 1.6.39; 1.6.40; 1.6.41; 1.6.42; 1.6.43; 1.6.44; 1.6.45; 1.6.46; 1.6.47; 1.6.48; 1.6.49; 1.6.50; 1.6.51; 1.6.52; 1.6.53; 1.6.54; 1.6.55 | — | No fix listed | CNA |
- libpng Vendorpnggroup Affected 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; 1.6.12; 1.6.13; 1.6.14; 1.6.15; 1.6.16; 1.6.17; 1.6.18; 1.6.19; 1.6.20; 1.6.21; 1.6.22; 1.6.23; 1.6.24; 1.6.25; 1.6.26; 1.6.27; 1.6.28; 1.6.29; 1.6.30; 1.6.31; 1.6.32; 1.6.33; 1.6.34; 1.6.35; 1.6.36; 1.6.37; 1.6.38; 1.6.39; 1.6.40; 1.6.41; 1.6.42; 1.6.43; 1.6.44; 1.6.45; 1.6.46; 1.6.47; 1.6.48; 1.6.49; 1.6.50; 1.6.51; 1.6.52; 1.6.53; 1.6.54; 1.6.55 Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2026:6732 Released 2026-04-07 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images libpng-1.6.56-1.hum1@aarch64, libpng-1.6.56-1.hum1@src, libpng-1.6.56-1.hum1@x86_64 +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Fixed | RHSA-2026:6732 |
Not affected: 11 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat build of OpenJDK 1.8
- Red Hat build of OpenJDK 11 ELS
- Red Hat build of OpenJDK 17
- Red Hat build of OpenJDK 21
- Red Hat build of OpenJDK 25
Timeline
- 2026-10-02 Threatist record created from CVE-2026-3713
- 2026-10-03 Alias added: GHSA-fgc7-hpwc-cmc9
References
More pnggroup vulnerabilities
- TI-2011-02683 Integer signedness error in the png_inflate function in pngrutil.c in libpng before… CVSS 3.1HIGH 8.8
- TI-2010-01161 Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in… CVSS 3.1CRITICAL 9.8
- TI-2026-20746 LIBPNG has a heap buffer overflow in png_set_quantize CVSS 4.0HIGH 8.3
- TI-2025-40204 LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read` CVSS 3.1HIGH 7.1
- TI-2025-40767 LIBPNG has an out-of-bounds read in png_image_read_composite CVSS 3.1HIGH 7.1
- TI-2025-40066 LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication CVSS 3.1HIGH 7.1
Sources
- CVE-2026-3713 · CVE Program
- CVE-2026-3713 · NVD
- FIRST EPSS
- GHSA-fgc7-hpwc-cmc9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-3713 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences