CVE-2022-23947 Memory corruption in KiCad
A stack-based buffer overflow in KiCad allows attackers to execute arbitrary code via malicious 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-23947?
CVE-2022-23947 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 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.
Which versions are affected by CVE-2022-23947?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Kicad Kicad Eda.
How do I fix CVE-2022-23947?
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-23947 being exploited?
There is no known exploitation of CVE-2022-23947 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-23947, GHSA-g88p-g6v4-vfm2, UBUNTU-CVE-2022-23947.