CVE-2024-42845

HIGH

InVesalius <3.1.99998 - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2024-42845. PoCs published by partywavesec, theexploiters.

AI-analyzed exploit summary The repository contains a functional exploit for CVE-2024-42845, which leverages an unsafe `eval()` call in Invesalius3's DICOM file parsing to achieve remote code execution. The exploit crafts a malicious DICOM file with embedded Python payloads executed via the vulnerable `GetImagePosition` function.

Description

An eval Injection vulnerability in the component invesalius/reader/dicom.py of InVesalius 3.1.99991 through 3.1.99998 allows attackers to execute arbitrary code via loading a crafted DICOM file.

Exploits (2)

nomisec WORKING POC 3 stars
by partywavesec · poc
https://github.com/partywavesec/invesalius3_vulnerabilities

The repository contains a functional exploit for CVE-2024-42845, which leverages an unsafe `eval()` call in Invesalius3's DICOM file parsing to achieve remote code execution. The exploit crafts a malicious DICOM file with embedded Python payloads executed via the vulnerable `GetImagePosition` function.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Invesalius3 versions 3.1.99991 to 3.1.99998
No auth needed
Prerequisites: Valid DICOM file to modify · Victim must import the crafted DICOM file
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by theexploiters · poc
https://github.com/theexploiters/CVE-2024-42845-Exploit

The repository contains a functional Python script that crafts a malicious DICOM file to exploit CVE-2024-42845, a Remote Code Execution (RCE) vulnerability in Invesalius 3.1. The exploit manipulates DICOM metadata to inject and execute arbitrary Python code upon file import.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Invesalius 3.1.99991 to 3.1.99998
No auth needed
Prerequisites: A valid DICOM file for modification · Victim interaction to import the crafted DICOM file
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 8.0
EPSS 0.7107
EPSS Percentile 98.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Published Aug 23, 2024
Tracked Since Feb 18, 2026