CVE-2024-47796 Memory corruption in DCMTK

High 8.4 Published Updated

Attackers can trigger an out-of-bounds write via malicious DICOM files, potentially causing crashes or code execution in applications using DCMTK.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47796?

CVE-2024-47796 is a high-severity memory corruption vulnerability in OFFIS DCMTK, published on 13 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An improper array index validation vulnerability exists in the nowindow 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.

Weakness: CWE-119

Which versions are affected by CVE-2024-47796?

It affects 1 product.

Products include Offis Dcmtk.

How do I fix CVE-2024-47796?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-47796 being exploited?

There is no known exploitation of CVE-2024-47796 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-47796, GHSA-4796-5527-wm9m, UBUNTU-CVE-2024-47796.

Is CVE-2024-47796 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free