CVE-2026-145796
Received Received - Intake

Code Injection in Lcapy via Malicious Netlist Files

Vulnerability report for CVE-2026-145796, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-06

Last updated on: 2026-12-06

Assigner: VulnCheck

Description

Lcapy through 1.26 contains a code injection vulnerability that allows attackers to execute Python code by supplying crafted component values in netlist files parsed by lcapy.sym.parse. Attackers can embed a sympify call with an __import__ payload in a shared netlist to execute code with the loading user's privileges.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-06
Last Modified
2026-12-06
Generated
2026-12-06
AI Q&A
2026-12-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mph- Lcapy From 0 (inc) to 1.26 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability allows attackers to execute arbitrary Python code on a user’s system by crafting malicious netlist files for Lcapy, a Python library for electrical circuit analysis. The attack exploits unsafe evaluation of component values, enabling code execution with the privileges of the user loading the file.

Detection Guidance

Check Lcapy version using `pip show lcapy`; versions up to 1.26 are affected. Review netlist files for suspicious component values containing `sympify` or `__import__` calls before loading them with `Circuit()`.

Bash
pip show lcapy | grep Version

Logs may show unexpected file writes or command executions in user context after loading a netlist, but these are not reliable indicators of exploitation.

Impact Analysis

Unauthenticated attackers can execute arbitrary commands on systems where untrusted users or processes have write access to shared netlist files, leading to potential data theft, system compromise, or further lateral movement within the user’s privilege context.

Compliance Impact

If the affected system processes netlist files containing sensitive data (e.g., circuit designs with proprietary or personal information), unauthorised code execution could result in unauthorised disclosure, affecting confidentiality controls under frameworks that require data protection measures.

Mitigation Strategies

Upgrade Lcapy to a version incorporating the security fix; the repository commits and pull request describe the validated changes to restrict unsafe expression evaluation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145796. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...