CVE-2024-24794 Use after free in libdicom

High 8.1 Published Updated

A use-after-free in libdicom allows attackers to execute code or cause denial of service via crafted DICOM files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-24794?

CVE-2024-24794 is a high-severity use after free vulnerability in Imaging Data Commons libdicom, published on 20 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A use-after-free vulnerability exists in the DICOM Element Parsing as implemented in Imaging Data Commons libdicom 1.0.5. A specially crafted DICOM file can cause premature freeing of memory that is used later. To trigger this vulnerability, an attacker would need to induce the vulnerable application to process a malicious DICOM image.The Use-After-Free happens in the `parse_meta_sequence_end()` parsing the Sequence Value Represenations.

Weakness: CWE-416

Which versions are affected by CVE-2024-24794?

It affects 1 product.

Products include Nih Libdicom.

How do I fix CVE-2024-24794?

No fix has been published for CVE-2024-24794 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-24794 being exploited?

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

Sources

Also known as GHSA-q769-33w3-x2hh.

Is CVE-2024-24794 in your software?

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

Check your SBOMs for free