Integer overflow in DCMTK encoder causes heap out-of-bounds read
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
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
Remediation
The sources list no fixed version for DCMTK.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Timeline
- 2026-11-19 Threatist record created from CVE-2026-133167
- 2026-11-19 Alias added: GHSA-4p5h-7qh4-cpm9
- 2026-11-19 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-133167 · CVE Program
- CVE-2026-133167 · NVD
- FIRST EPSS
- GHSA-4p5h-7qh4-cpm9 · 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