Vulnerability · Published Feb 4, 2022 · Assigned by talos
CVE-2022-23946
High 7.8
In plain English
A high-severity stack buffer overflow in KiCad. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.8High
Exploit odds (30 days)1.7%top 22.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon GCodeNumber parsing functionality of KiCad EDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or excellon file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kicad | 6.0.2+dfsg-1 | DEBIAN-CVE-2022-23946 |
| Debian:13 | kicad | 6.0.2+dfsg-1 | DEBIAN-CVE-2022-23946 |
| Debian:14 | kicad | 6.0.2+dfsg-1 | DEBIAN-CVE-2022-23946 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2022-1460 x_refsource_MISC
- FEDORA-2022-78b18981a6 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220510 [SECURITY] [DLA 2998-1] kicad security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20220820 [SECURITY] [DLA 3078-1] kicad security update mailing-list, x_refsource_MLIST
- DSA-5214 vendor-advisory, x_refsource_DEBIAN