Exposed dangerous method or function in asteval - CVE-2026-102734

 

Exposed dangerous method or function in asteval - CVE-2026-102734

Published: November 11, 2026


Vulnerability identifier: #VU165950
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102734
CWE-ID: CWE-749
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to escape sandbox restrictions and cause a denial of service.

The vulnerability exists due to exposure of dangerous ctypes methods and unfiltered attribute writes in asteval's Interpreter when evaluating untrusted expressions with numpy enabled. A remote attacker can induce an application to evaluate crafted expressions accessing from_address through ndarray.ctypes.shape._type_ and overwrite native memory to crash the host process.


Affected software

asteval

How to mitigate CVE-2026-102734

Install security update from vendor's website.

asteval - update to 1.0.9

External References

Related Security Bulletins