DCMTK Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
OFFIS DCMTK 3.7.1 contains a heap buffer overflow in togglePlanarConfiguration8 and togglePlanarConfiguration16 in djcodece.cc, which compute row offsets using rows instead of columns. An attacker can supply a crafted color-by-plane DICOM image with more rows than columns, compressed with the true-lossless JPEG codec, to corrupt heap memory. Exploitation causes crashes and may lead to code execution. The weakness is CWE-787 (Out-of-bounds Write).
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
OFFIS DCMTK 3.7.1 contains a heap buffer overflow vulnerability in togglePlanarConfiguration8 and togglePlanarConfiguration16 in djcodece.cc, which compute row offsets using rows instead of columns. Attackers can supply a crafted color-by-plane DICOM image with more rows than columns that is compressed with the true-lossless JPEG codec to corrupt heap memory, causing crashes and potentially code execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version is listed for DCMTK as of publication. CISA has not added this vulnerability to KEV, and no exploit link is listed in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Timeline
- 2026-11-19 Threatist record created from CVE-2026-133168
- 2026-11-19 Alias added: GHSA-vhjh-fq99-4gmr
- 2026-11-24 CISA SSVC decision points changed
References
More OFFIS vulnerabilities
- TI-2026-10943 OFFIS DCMTK ofxml.cc parseFile heap-based overflow CVSS 4.0MEDIUM 5.3
- TI-2025-08922 DCMTK dcm2img diybrpxt.h memory corruption CVSS 4.0MEDIUM 4.8
- TI-2022-04568 DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference CVSS 4.0MEDIUM 4.8
- TI-2020-18990 DCMTK dcmqrscp parseQuota stack-based overflow CVSS 4.0MEDIUM 4.8
- TI-2024-22823 dcmnet in DCMTK before 3.6.9 has a segmentation fault via an invalid DIMSE message. CVSS 3.1MEDIUM 4.3
- TI-2019-16028 Out-of-bounds write in OFFIS.de DCMTK CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-133168 · CVE Program
- CVE-2026-133168 · NVD
- FIRST EPSS
- GHSA-vhjh-fq99-4gmr · 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