Skip to main content

OFFIS DCMTK CVE-2026-133167

| EUVDEUVD-2026-130212 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-11-19 VulnCheck GHSA-4p5h-7qh4-cpm9
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft DICOM with huge Columns/Rows/SamplesPerPixel
  2. Exploit
    Victim transcodes file via true-lossless JPEG encoder
  3. Execution
    Integer overflow wraps size check
  4. Impact
    Heap out-of-bounds read crashes application

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a DCMTK-based application actually performs JPEG true-lossless ENCODING/transcoding on an attacker-supplied DICOM object (the vulnerable encodeTrueLossless path), not merely parsing or viewing it - so deployments that only read/display DICOM without re-compressing to true-lossless JPEG are not reachable. The attacker must supply a crafted DICOM file with large Columns, Rows and SamplesPerPixel values chosen so bytesAllocated * samplesPerPixel * columns * rows * numberOfFrames overflows the pre-fix 32-bit/size_t multiplication. Limiting factors: the CVSS vector is local (AV:L) and requires passive user interaction (UI:P) to get the file processed, there is no privilege requirement (PR:N), and the only outcome confirmed is a crash (availability), so this is not a remote-by-default or code-execution condition. Affected versions are DCMTK 3.5.4 through 3.7.1; updating to the patched build (commit f9fbc4f) is the fix the evidence provides.

Impact

This is a moderate-severity, availability-only issue rather than a top-tier emergency. The provided CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 6.8 and tells a consistent story: a local attack vector requiring passive user interaction, with impact limited to availability (VA:H) and no confidentiality or integrity impact (VC:N/VI:N) - matching the description of a heap out-of-bounds read that 'crashes the application.' There is no KEV listing and no EPSS score supplied, so there is no signal of active or probabilistically likely exploitation; status is 'no public exploit identified at time of analysis' (references point to a VulnCheck advisory and the vendor Redmine issue, which are analysis/tracking artifacts, not verified working exploit code). The vuln.today decision label is 'this_month,' not act_now or emergency, which aligns with a crash-only, local, user-interaction-dependent bug. One nuance to verify: the CWE-190 integer overflow producing an out-of-bounds READ could in principle leak heap memory, but the only confirmed impact in the evidence is a crash, so confidentiality impact is treated as none. Overall this is a 'real but routine patch-this-cycle' issue, not a high-CVSS-but-illusory risk nor a drop-everything priority.

Exploit ScenarioDerived

An attacker crafts a malicious DICOM file declaring oversized Columns, Rows and SamplesPerPixel values and gets a victim to process it in a DCMTK-based application that re-compresses images using true-lossless JPEG. The integer overflow in the encodeTrueLossless size check lets the computed buffer size wrap, so a subsequent heap read runs past the allocation and crashes the process (denial of service). No public, verified exploit code is identified; only a vendor issue and a VulnCheck advisory reference the flaw.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

DCMTK 3.5.4 through 3.7.1 can be crashed by a heap out-of-bounds read in the true-lossless JPEG encoder path (DJCodecEncoder::encodeTrueLossless) when a crafted DICOM object with oversized Columns, Rows and SamplesPerPixel values is compressed. Only deployments that actually perform true-lossless JPEG encoding or transcoding on attacker-supplied DICOM data are reachable; applications that merely parse or display DICOM files do not exercise the vulnerable code. Impact is availability-only (application crash) with local access and passive user interaction required, no public exploit identified at time of analysis, and an upstream fix is available.

RemediationAI

Update DCMTK to a build containing upstream commit f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9 (https://github.com/DCMTK/dcmtk/commit/f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9), which widens the size-check arithmetic to Uint64 and casts columns to size_t before computing frameSize; the vendor states a patch is available, and the DCMTK issue at https://support.dcmtk.org/redmine/issues/1300 should be consulted for the release that carries it, as a specific patched version tag is not confirmed in the available data. Because the vulnerable path is encoding rather than parsing, the practical compensating control is to stop any DCMTK-based service from performing true-lossless JPEG encoding or transcoding on untrusted or externally sourced DICOM objects, restricting that workflow to trusted inputs; the trade-off is loss of server-side recompression/transcoding for those files, so clients must supply already-conforming objects or the operation must be done in an isolated, resource-capped process. Applications that only read or display DICOM do not need this restriction.

Affected VersionsENISA

DCMTK 3.5.4 ≤3.7.1

Affected Packages

euvd dcmtk no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-190 (integer overflow) inside DCMTK's dcmjpeg module, in DJCodecEncoder::encodeTrueLossless, the routine that writes true-lossless JPEG-compressed pixel data. Before the fix, the sanity check computed bytesAllocated * samplesPerPixel * columns * rows * numberOfFrames in 32-bit/size_t arithmetic; with attacker-controlled Columns, Rows and SamplesPerPixel from the DICOM header, that product can wrap, so the computed size passes the comparison against the available buffer length even though the real frame is far larger. The subsequent frameSize computation has the same overflow exposure. The upstream commit f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9 widens the comparison operands to Uint64 and casts columns to size_t for the frameSize product, restoring correct bounds validation. The observable consequence confirmed by the evidence is an out-of-bounds heap read leading to an application crash, not memory corruption with a demonstrated write primitive.

Know when Dcmtk gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local because a crafted file must be fed to the encoder (AV:L) with victim interaction (UI:R); no auth needed (PR:N); evidence shows only a crash, so A:H and C:N/I:N.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
Widely used open-source DICOM toolkit in medical imaging, but not ubiquitous infrastructure
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

More in Dcmtk

View all
CVE-2019-1010228 CRITICAL POC
9.8 Jul 22

OFFIS.de DCMTK 3.6.3 and below is affected by: Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability i

CVE-2015-8979 HIGH POC
7.5 Feb 15

Stack-based buffer overflow in the parsePresentationContext function in storescp in DICOM dcmtk-3.6.0 and earlier allows

CVE-2024-27628 HIGH POC
8.1 Jun 28

Buffer Overflow vulnerability in DCMTK v.3.6.8 allows an attacker to execute arbitrary code via the EctEnhancedCT method

CVE-2024-28130 HIGH POC
7.5 Apr 23

An incorrect type conversion vulnerability exists in the DVPSSoftcopyVOI_PList::createFromImage functionality of OFFIS D

CVE-2022-43272 HIGH POC
7.5 Dec 02

DCMTK v3.6.7 was discovered to contain a memory leak via the T_ASC_Association object. Rated high severity (CVSS 7.5), t

CVE-2013-6825 HIGH POC
7.2 Jun 10

(1) movescu.cc and (2) storescp.cc in dcmnet/apps/, (3) dcmnet/libsrc/scp.cc, (4) dcmwlm/libsrc/wlmactmg.cc, (5) dcmprsc

CVE-2022-2120 CRITICAL
9.8 Jun 24

OFFIS DCMTK's (All versions prior to 3.6.7) service class user (SCU) is vulnerable to relative path traversal, allowing

CVE-2022-2119 CRITICAL
9.8 Jun 24

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an at

CVE-2024-34509 MEDIUM POC
5.3 May 05

dcmdata in DCMTK before 3.6.9 has a segmentation fault via an invalid DIMSE message. Rated medium severity (CVSS 5.3), t

CVE-2026-97059 HIGH
8.8 Sep 24

Heap over-read in DCMTK through 3.7.0 allows unauthenticated remote attackers to crash applications or leak adjacent hea

CVE-2026-44031 HIGH
8.7 Oct 08

Deeply nested DICOM sequence (SQ) elements delivered to a DCMTK 3.7.0-based service drive the parser into unbounded recu

CVE-2026-133168 HIGH
8.5 Nov 19

Heap out-of-bounds write in the DICOM toolkit DCMTK's JPEG encoder helpers togglePlanarConfiguration8 and togglePlanarCo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy