Stack-based buffer overflow in KiCad EDA - CVE-2022-23804
Published: February 17, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the Gerber Viewer gerber and excellon coordinates parsing functionality within "ReadIJCoord". A remote unauthenticated attacker can use a specially crafted gerber or excellon file, trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Ubuntu
Fedora
kicad (Ubuntu package)
kicad (Debian package)
kicad
How to mitigate CVE-2022-23804
kicad (Ubuntu package) - update to Ubuntu Pro
kicad (Debian package) - update to 5.1.9+dfsg1-1+deb11u1
kicad - update to 6.0.2-1.fc35