CVE-2022-23946 Memory corruption in KiCad
A stack-based buffer overflow in KiCad allows attackers to execute arbitrary code via specially crafted Gerber or Excellon files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-23946?
CVE-2022-23946 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 4 Feb 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Which versions are affected by CVE-2022-23946?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Kicad Kicad Eda.
How do I fix CVE-2022-23946?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-23946 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23946 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-23946, GHSA-5xw6-g598-2v26, UBUNTU-CVE-2022-23946.