Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft DICOM with huge Columns/Rows/SamplesPerPixel
-
ExploitVictim transcodes file via true-lossless JPEG encoder
-
ExecutionInteger overflow wraps size check
-
ImpactHeap 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
OFFIS.de DCMTK 3.6.3 and below is affected by: Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability i
Stack-based buffer overflow in the parsePresentationContext function in storescp in DICOM dcmtk-3.6.0 and earlier allows
Buffer Overflow vulnerability in DCMTK v.3.6.8 allows an attacker to execute arbitrary code via the EctEnhancedCT method
An incorrect type conversion vulnerability exists in the DVPSSoftcopyVOI_PList::createFromImage functionality of OFFIS D
DCMTK v3.6.7 was discovered to contain a memory leak via the T_ASC_Association object. Rated high severity (CVSS 7.5), t
(1) movescu.cc and (2) storescp.cc in dcmnet/apps/, (3) dcmnet/libsrc/scp.cc, (4) dcmwlm/libsrc/wlmactmg.cc, (5) dcmprsc
OFFIS DCMTK's (All versions prior to 3.6.7) service class user (SCU) is vulnerable to relative path traversal, allowing
OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an at
dcmdata in DCMTK before 3.6.9 has a segmentation fault via an invalid DIMSE message. Rated medium severity (CVSS 5.3), t
Heap over-read in DCMTK through 3.7.0 allows unauthenticated remote attackers to crash applications or leak adjacent hea
Deeply nested DICOM sequence (SQ) elements delivered to a DCMTK 3.7.0-based service drive the parser into unbounded recu
Heap out-of-bounds write in the DICOM toolkit DCMTK's JPEG encoder helpers togglePlanarConfiguration8 and togglePlanarCo
EUVD-2026-130212
GHSA-4p5h-7qh4-cpm9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB