Description
A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon DCodeNumber 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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | KiCad | KiCad EDA 6.0.1,KiCad EDA master commit de006fc010 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | kicad | 6.0.2+dfsg-1 | — |
| Debian 13 | kicad | 6.0.2+dfsg-1 | — |
| Debian 12 | kicad | 6.0.2+dfsg-1 | — |
| Debian 11 | kicad | 5.1.9+dfsg1-1+deb11u1 | DSA-5214-1 |
| Debian 10 | kicad | 5.0.2+dfsg1-1+deb10u1 | DLA-3078-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | kicad | 4.0.5+dfsg1-4+deb9u1 | DLA-2998-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | kicad | 5.1.5+dfsg1-2ubuntu0.1~esm1 | USN-7466-1 |
| Ubuntu Pro 18.04 LTS | kicad | 4.0.7+dfsg1-1ubuntu2+esm1 | USN-7466-1 |
Advisories 4
- DSA-5214-1 kicad - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3078-1 kicad - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2998-1 kicad - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-7466-1 kicad vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2022-1460
- FEDORA-2022-78b18981a6 vendor-advisory
- [debian-lts-announce] 20220510 [SECURITY] [DLA 2998-1] kicad security update mailing-list
- [debian-lts-announce] 20220820 [SECURITY] [DLA 3078-1] kicad security update mailing-list
- DSA-5214 vendor-advisory