Read the docs

DCMTK Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion

Priority LOW 38CWE-787Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00212 6th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
OFFISDCMTK3.7.1—No fix listedCNA
  • DCMTK VendorOFFIS Affected 3.7.1 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:offis:dcmtk:*:*:*:*:*:*:*:*——OFFIS
  • cpe:2.3:a:offis:dcmtk:*:*:*:*:*:*:*:* Versions — — ·OFFIS

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

  1. 2026-11-19 Threatist record created from CVE-2026-133168
  2. 2026-11-19 Alias added: GHSA-vhjh-fq99-4gmr
  3. 2026-11-24 CISA SSVC decision points changed

References

  • 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
See all 37 →

Sources