jhead PNG Section double free in RemovePngSection (pngfile.c)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Matthias-Wandel jhead up to 3.3 has a double free in the RemovePngSectionByType and RemovePngSection functions of src/pngfile.c, in the PNG Section Handler component. Manipulation leads to the double free, classified as CWE-415 and CWE-119. A remote attacker can exploit it, and a public exploit has been disclosed. The project received an early issue report but has not responded.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
A security vulnerability has been detected in Matthias-Wandel jhead up to 3.3. This affects the function RemovePngSectionByType/RemovePngSection of the file src/pngfile.c of the component PNG Section Handler. The manipulation leads to double free. Remote exploitation of the attack is possible. The exploit has been disclosed publicly 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 |
|---|---|---|---|---|---|
| Matthias-Wandel | jhead | 3.0; 3.1; 3.2; 3.3 | — | No fix listed | CNA |
- jhead VendorMatthias-Wandel Affected 3.0; 3.1; 3.2; 3.3 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:matthias-wandel:jhead:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:matthias-wandel:jhead:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fix is listed for jhead 3.0, 3.1, 3.2 or 3.3, and the project has not responded to the issue report. Until a fix is available, avoid running jhead on untrusted PNG files or replace it with another tool.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Timeline
- 2026-11-20 Threatist record created from CVE-2026-133496
- 2026-11-20 Alias added: GHSA-vgr9-hx53-v9m3
- 2026-11-25 CISA SSVC decision points changed
References
More Matthias-Wandel vulnerabilities
- TI-2020-17405 Buffer Overflow vulnerability in jpgfile.c in Matthias-Wandel jhead version 3.04, allows… CVSS 3.1HIGH 7.8
- TI-2024-02634 Matthias-Wandel jhead exif.c PrintFormatNumber heap-based overflow CVSS 3.1MEDIUM 6.3
- TI-2026-61639 Matthias-Wandel jhead WebP EXIF gpsinfo.c ProcessGpsInfo heap-based overflow CVSS 4.0MEDIUM 4.8
- TI-2026-61638 Matthias-Wandel jhead EXIF Parsing exif.c Get16u out-of-bounds CVSS 4.0MEDIUM 4.8
Sources
- CVE-2026-133496 · CVE Program
- CVE-2026-133496 · NVD
- FIRST EPSS
- GHSA-vgr9-hx53-v9m3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences