Incident report

Symbolic Math Tool Wrapper Arbitrary Code Execution via Unsafe Evaluation

Public CVE advisory documenting arbitrary code execution in an experimental agent math utility where model-supplied strings passed through unsafe dynamic evaluation.

Incident record

Reported
Severity
Critical
Vector
Tool/MCP Abuse
Affected system type
LLM Agent Math & Symbolic Evaluation Plugins
Reference
CVE-2024-46946
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-46946

Inspect in Interactive Incidents Hub

Defensive lesson

Never pass LLM outputs into eval()-backed parsers such as unfiltered sympify(); use deterministic AST calculators or isolated gVisor/WebAssembly sandboxes.

Referenced techniques