VYPR
patchPublished Nov 13, 2026· Updated Nov 21, 2026· 1 source

KiCad SCHLIB File Parsing Vulnerability Leads to Remote Code Execution

A critical out-of-bounds write vulnerability in KiCad's SCHLIB file parsing allows remote attackers to execute arbitrary code on affected systems.

The popular open-source electronics design automation suite, KiCad, is affected by a critical vulnerability that could allow remote attackers to execute arbitrary code on vulnerable installations. The flaw, identified as ZDI-26-956 and assigned CVE-2026-126970, resides within the software's handling of Altium SCHLIB files.

This vulnerability stems from an out-of-bounds write condition that occurs due to insufficient validation of user-supplied data during the parsing of SCHLIB files. When processing a specially crafted file, an attacker can trigger a write operation that extends beyond the allocated memory buffer. This memory corruption can then be leveraged by an attacker to achieve arbitrary code execution within the context of the running KiCad process.

Exploitation of this vulnerability requires a degree of user interaction. Attackers must trick a user into opening a malicious SCHLIB file or visiting a compromised webpage that hosts such a file. Once the malicious file is processed, the attacker can potentially gain control of the affected system, depending on the privileges of the KiCad application.

The vulnerability carries a CVSS score of 7.8, indicating a high severity. This score reflects the potential for significant impact, including unauthorized access and control over a user's system, especially given the widespread use of KiCad in the open-source hardware design community.

KiCad has addressed this vulnerability by releasing an update. Developers are urged to update their installations to the latest version to mitigate the risk. The specific commit addressing the issue can be found in the KiCad GitLab repository, detailing the fix for the improper data validation that led to the out-of-bounds write.

The vulnerability was initially reported to the vendor on August 6, 2026, and a coordinated public release of the advisory occurred on November 13, 2026. This timeline follows standard responsible disclosure practices, allowing vendors sufficient time to develop and distribute patches before public knowledge of the flaw becomes widespread.

This discovery highlights the ongoing security challenges faced by open-source software projects, which often rely on community contributions and limited resources for security auditing. While KiCad is a robust and widely used tool, vulnerabilities in file parsing components remain a common attack vector across various software applications.

Users and organizations utilizing KiCad should prioritize applying the available security update to protect against potential exploitation of this remote code execution vulnerability. Further details and the patch information are available through the Zero Day Initiative advisory.

Synthesized by Vypr AI