CVE-2024-24794
Homebrew vulnerability analysis and mitigation

Overview

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 (Talos Report).

Technical details

The vulnerability occurs when parsing DICOM files that contain elements with the same tag. The code pattern in libdicom follows a sequence where it allocates a new element, attempts to insert it into the dataset, and if the operation fails, the element is freed. However, if the dataset already contains the tag of the element, dcm_element_destroy() is called to deallocate the object, but the code proceeds to return false, resulting in a second deallocation of the same element. This double-free scenario can lead to memory corruption. The vulnerability has been assigned a CVSSv3 score of 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) (Talos Report).

Impact

The vulnerability can lead to memory corruption and possible arbitrary code execution on the targeted system. This is particularly concerning as libdicom is commonly used in medical facilities for handling DICOM files, which are standard formats for storing and transmitting medical images (Talos Blog).

Mitigation and workarounds

The vendor has issued a fix on Github.com. Users are advised to update to the latest version of the software that includes the security patch (Talos Report).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22861HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 13, 2026
CVE-2026-22776HIGH8.7
  • HomebrewHomebrew
  • cpp-httplib
NoYesJan 12, 2026
CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-21283HIGH7.8
  • Adobe BridgeAdobe Bridge
  • bridge
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management