Stack-based buffer overflow in kicad - CVE-2022-23946

 

Stack-based buffer overflow in kicad - CVE-2022-23946

Published: February 3, 2022 / Updated: February 11, 2022


Vulnerability identifier: #VU60261
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-23946
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: KiCad EDA
Affected software:
kicad

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in "GCodeNumber" in the Gerber Viewer gerber and excellon GCode/Dcode parsing functionality. A remote unauthenticated attacker can #CONDITION2#, 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.


How to mitigate CVE-2022-23946

Install update from vendor's website.

Sources