CVE-2024-52333
NoneCVSS
—
EPSS
0.6%
Published
Jan 13, 2025
CISA due date
—
Cloudanix analysis
A flaw in handling medical image files can let attackers crash systems or run harmful code by sending a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper array index validation in determineMinMax allows a specially crafted DICOM file to trigger an out-of-bounds write in DCMTK 3.6.8.
Why it matters to the business
Medical imaging and DICOM processing systems may crash, corrupt data, or allow arbitrary code execution, disrupting clinical workflows and requiring urgent patching across deployments that depend on the vulnerable library.
How an attack unfolds
An attacker crafts a malicious DICOM file that exploits the index validation flaw during determineMinMax processing; the file is supplied to the target application, triggering the out-of-bounds write and potential code execution.
How to fix it
Upgrade affected packages to the listed fixed versions: web2py (Ubuntu:16.04:LTS) fixed in 2.12.3-1ubuntu0.1. Apply vendor patches for DCMTK once released and rebuild dependent applications.
How to confirm the fix worked
Confirm upgraded package versions match the fixed releases, reprocess sample DICOM files that previously triggered the flaw, and verify no out-of-bounds behavior occurs in determineMinMax.
Typical attack path
- Craft malicious DICOM file targeting determineMinMax index handling
- Deliver file to victim system or application that processes DICOM
- Trigger file parsing to cause out-of-bounds write
- Leverage memory corruption for code execution or denial of service
How to detect it
Review application logs for crashes or errors during DICOM parsing around determineMinMax; inspect inbound DICOM files for anomalous array indices or unexpected sizes.
What your security team should do
- Prioritize patching systems handling DICOM files due to memory corruption risk
- Inventory all deployments using DCMTK 3.6.8 or the listed web2py packages
- Implement file-type validation and sandboxing for untrusted DICOM input
- Monitor for new fixed releases from OFFIS and Ubuntu
The record
An improper array index validation vulnerability exists in the determineMinMax functionality of OFFIS DCMTK 3.6.8. A specially crafted DICOM file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | dcmtk | 0 | No fix |
| Debian:11 | dcmtk | 0 | 3.6.5-1+deb11u1 |
| Debian:12 | dcmtk | 0 | No fix |
| Debian:13 | dcmtk | 0 | No fix |
| Debian:13 | dcmtk | 0 | 3.6.8-7 |
| Mageia:9 | dcmtk | 0 | 3.6.7-4.3.mga9 |
| SUSE:Package Hub 15 SP6 | dcmtk | 0 | 3.6.9-bp156.4.3.1 |
| Ubuntu:20.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:22.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:24.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:24.10 | dcmtk | 0 | No fix |
| Ubuntu:25.04 | dcmtk | 0 | No fix |
| Ubuntu:25.10 | dcmtk | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | dcmtk | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | dcmtk | 0 | No fix |
| openSUSE:Leap 15.6 | dcmtk | 0 | 3.6.9-bp156.4.3.1 |
| openSUSE:Tumbleweed | dcmtk | 0 | 3.6.9-1.1 |
Related vulnerabilities
- CVE-2024-47796 An improper array index validation vulnerability exists in the nowindow functionality of… Also affects dcmtk
- CVE-2024-28130 An incorrect type conversion vulnerability exists in the… Also affects dcmtk
- CVE-2015-8979 Stack-based buffer overflow in the parsePresentationContext function in storescp in DICOM… Also affects dcmtk
- CVE-2025-14841 A flaw has been found in OFFIS DCMTK up to 3.6.9. Also affects dcmtk
- CVE-2025-14607 A vulnerability was detected in OFFIS DCMTK up to 3.6.9. Also affects dcmtk
- CVE-2026-5663 A security flaw has been discovered in OFFIS DCMTK up to 3.7.0. Also affects dcmtk