Read the docs

Integer overflow in DCMTK encoder causes heap out-of-bounds read

Priority LOW 29CWE-190Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.

Summary

OFFIS DCMTK from 3.5.4 through 3.7.1 is affected. An integer overflow in the size checks of DJCodecEncoder::encodeTrueLossless (CWE-190) allows a heap out-of-bounds read. An attacker supplies a crafted DICOM file with large Columns, Rows and SamplesPerPixel values, and the application crashes when the file is compressed with true-lossless JPEG.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Description from the CNA

OFFIS DCMTK 3.5.4 through 3.7.1 contains an integer overflow in DJCodecEncoder::encodeTrueLossless size checks that allows attackers to trigger a heap out-of-bounds read. Attackers can supply a crafted DICOM file with large Columns, Rows and SamplesPerPixel values that, when compressed with true-lossless JPEG, crashes the application.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00172 3rd 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
Partial

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.5.4 – 3.7.1—No fix listedCNA
  • DCMTK VendorOFFIS Affected 3.5.4 – 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

The sources list no fixed version for DCMTK.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-133167
  2. 2026-11-19 Alias added: GHSA-4p5h-7qh4-cpm9
  3. 2026-11-19 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