DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2998-1, DLA-3078-1, DSA-5214-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kicad (PTS)buster5.0.2+dfsg1-1vulnerable
buster (security)5.0.2+dfsg1-1+deb10u1fixed
bullseye (security), bullseye5.1.9+dfsg1-1+deb11u1fixed
bookworm, sid6.0.11+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs

Notes (master) (6.0.2)

Search for package or bug name: Reporting problems