Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed dcmqrscp DICOM service on network
-
DeliveryAuthenticate as low-privilege DICOM Application Entity
-
ExploitSend crafted DICOM request targeting deleteOldestImages code path
-
ExecutionTrigger heap-based buffer overflow in dcmqrdb/libsrc/dcmqrdbi.cc
-
PersistCorrupt heap memory
-
ImpactAchieve partial confidentiality, integrity, or availability impact on dcmqrscp process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
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 network-level access to the dcmqrscp DICOM service and low-privilege authentication (CVSS PR:L) - specifically, the attacker must be recognized as a valid DICOM Application Entity (AE) by the server, either through a configured AE title or due to permissive AE title verification being disabled. The vulnerable code path is within the deleteOldestImages function, which is invoked during database index housekeeping when image storage limits are managed; the attacker may need to induce or coincide with conditions that activate this eviction logic. Exploitation is bounded by the unchanged scope (S:U) - impact is confined to the dcmqrscp process itself and does not propagate to other system components or privilege levels. Exploitation is limited by the low-privilege authentication gate, the unchanged scope preventing privilege escalation, and the low individual CIA impact ratings; fully unauthenticated exploitation is not supported by the CVSS PR:L vector. |
| Impact | The CVSS 3.1 base score of 6.3 (Medium) reflects a network-accessible attack vector (AV:N) with low complexity (AC:L) but a meaningful gate: low-level authentication is required (PR:L), preventing fully unauthenticated exploitation. All three CIA impacts are rated Low (C:L/I:L/A:L) with unchanged scope (S:U), meaning the vulnerability does not enable privilege escalation or lateral scope change. Temporal metrics strengthen this: RL:O confirms an official fix exists, and RC:C confirms the vulnerability itself is verified. Exploit code maturity is marked Not Defined (E:X), consistent with no confirmed public exploit code. EPSS data was not provided in the available intelligence, and the vulnerability is absent from the CISA KEV catalog, both signals pointing away from active or widespread exploitation. However, the healthcare deployment context materially elevates real-world risk: dcmqrscp instances are commonly exposed within hospital networks where DICOM AE authentication may be loosely enforced, and availability impact to a PACS-connected DICOM service could disrupt clinical workflows. This is a medium-priority patch item under normal circumstances but warrants expedited attention in internet-exposed or lightly authenticated DICOM environments. |
| Exploit ScenarioDerived | An attacker with recognized DICOM Application Entity credentials - for example, a malicious insider or a compromised system within a hospital network - establishes a DICOM association with the dcmqrscp service and sends a crafted C-FIND or storage-related request designed to trigger the deleteOldestImages code path under abnormal conditions. The malformed interaction causes a heap-based buffer overflow in dcmqrdb/libsrc/dcmqrdbi.cc, corrupting heap memory in a manner that leads to partial data disclosure, index corruption, or service crash. No public exploit code has been identified at time of analysis, but the low attack complexity rating (AC:L) suggests the overflow condition is reproducible without significant reverse engineering effort once the triggering input is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 31, 2026
Heap-based buffer overflow in OFFIS DCMTK 3.7.0's dcmqrscp component allows remote low-privileged attackers to trigger memory corruption via the deleteOldestImages function in the DICOM Query/Retrieve database backend. Exploitation requires authenticated network access with low complexity and results in partial confidentiality, integrity, and availability impact without crossing privilege boundaries. No public exploit identified at time of analysis; an upstream git commit patch is confirmed available, though a formally tagged release version incorporating the fix has not been independently verified.
RemediationAI
Apply the upstream patch commit 0f78a4ef6f645ea5530166e445e5436a5de58e75 from the official DCMTK git repository, available at https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=0f78a4ef6f645ea5530166e445e5436a5de58e75. Note that this is an upstream commit reference - a formally released and tagged patched version is not independently confirmed from available data; organizations should verify with OFFIS whether a tagged release incorporating this fix has been published before deploying. As compensating controls while patching is in progress: restrict network access to dcmqrscp listeners using host-based or network firewall rules to permit only trusted DICOM peer AE (Application Entity) addresses, which directly limits the low-privilege attack surface required for exploitation (trade-off: may disrupt legitimate DICOM peers not yet allowlisted). Additionally, enforce strict DICOM AE title authentication on the dcmqrscp configuration to prevent unrecognized callers from establishing sessions; disabling the Query/Retrieve SCP service entirely is an option of last resort where that function is non-critical. Monitor dcmqrscp process logs and system crash dumps for anomalous heap corruption signals as a detection measure.
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
DCMTK (DICOM Toolkit) is an open-source C++ library and application suite developed by OFFIS for implementing the DICOM medical imaging standard, widely deployed in healthcare infrastructure including PACS (Picture Archiving and Communication Systems). The affected component dcmqrscp (DICOM Query/Retrieve Service Class Provider) manages medical image storage, indexing, and retrieval. The vulnerable function DcmQueryRetrieveIndexDatabaseHandle::deleteOldestImages resides in dcmqrdb/libsrc/dcmqrdbi.cc and is responsible for automatic eviction of oldest images from the internal database index - a housekeeping function triggered during storage capacity management. CWE-122 (Heap-based Buffer Overflow) identifies the root cause: a heap-allocated buffer is written beyond its allocated boundaries, which can corrupt adjacent heap metadata or object pointers, potentially enabling code execution or denial-of-service. The CPE string cpe:2.3:a:offis:dcmtk:*:*:*:*:*:*:*:* with version 3.7.0 explicitly cited in the description identifies the confirmed affected release; the wildcard notation may indicate additional versions are affected but this is not independently confirmed.
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:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in OFFIS DCMTK 3.7.0. This affects the function DcmQueryRetrieveIndexDatabaseHandle::deleteOldestImages of the file dcmqrdb/libsrc/dcmqrdbi.cc of the component dcmqrscp. Executing a manipulation can lead to heap-based buffer overflow. The attack may be launched remotely. This patch is called 0f78a4ef6f645ea5530166e445e5436a5de58e75. A patch should be applied to remediate this issue.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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-33516
GHSA-x58f-wmvg-jxpc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB