CVE-2022-23947
A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
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.
- Record
CVE-2022-23947- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2022-28863
7.8
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.
- Record
EUVD-2022-28863- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-g88p-g6v4-vfm2
7.8
A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon...
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.
- Record
GHSA-g88p-g6v4-vfm2- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2022-23947- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2022-23947- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-23947
7.8
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.
- Record
DEBIAN-CVE-2022-23947- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-23947
7.8
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.
- Record
UBUNTU-CVE-2022-23947- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2022-0295 No score
Updated kicad packages fix security vulnerability
Multiple buffer overflows were discovered in Kicad, a suite of programs for the creation of printed circuit boards, which could result in the execution of arbitrary code if malformed Gerber/Excellon files, as follows.
A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadXYCoord coordinate 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. (CVE-2022-23803)
A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadIJCoord coordinate 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. (CVE-2022-23804)
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. (CVE-2022-23946)
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. (CVE-2022-23947)
- Record
MGASA-2022-0295- Updated
- 2026-11-02
OSVUSN-7466-1 No score
kicad vulnerabilities
It was discovered that KiCad incorrectly handled memory when opening malicious files. An attacker could possibly use this issue to cause a denial of service or execute arbitrary commands.
- Record
USN-7466-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
kicadDebian:12 |
before 6.0.2+dfsg-1 | 6.0.2+dfsg-1 |
kicadDebian:13 |
before 6.0.2+dfsg-1 | 6.0.2+dfsg-1 |
kicadDebian:14 |
before 6.0.2+dfsg-1 | 6.0.2+dfsg-1 |
kicadDebian:9 From an advisory covering 4 CVEs |
before 4.0.5+dfsg1-4+deb9u1, plus listed versions 4.0.5+dfsg1-4 |
4.0.5+dfsg1-4+deb9u1 |
kicadDebian:10 From an advisory covering 4 CVEs |
before 5.0.2+dfsg1-1+deb10u1, plus listed versions 5.0.2+dfsg1-1 |
5.0.2+dfsg1-1+deb10u1 |
kicadDebian:11 From an advisory covering 4 CVEs |
before 5.1.9+dfsg1-1+deb11u1, plus listed versions 5.1.9+dfsg1-1 |
5.1.9+dfsg1-1+deb11u1 |
kicadMageia:8 From an advisory covering 4 CVEs |
before 5.1.12-1.1.mga8 | 5.1.12-1.1.mga8 |
kicadUbuntu:Pro:18.04:LTS |
before 4.0.7+dfsg1-1ubuntu2+esm1, plus listed versions 4.0.6+dfsg1-14.0.6+dfsg1-1build14.0.7+dfsg1-14.0.7+dfsg1-1ubuntu14.0.7+dfsg1-1ubuntu2 |
4.0.7+dfsg1-1ubuntu2+esm1 |
kicadUbuntu:Pro:20.04:LTS |
before 5.1.5+dfsg1-2ubuntu0.1~esm1, plus listed versions 5.1.4+dfsg1-15.1.4+dfsg1-25.1.5+dfsg1-15.1.5+dfsg1-25.1.5+dfsg1-2build15.1.5+dfsg1-2build2 |
5.1.5+dfsg1-2ubuntu0.1~esm1 |
kicadUbuntu:Pro:18.04:LTS From an advisory covering 4 CVEs |
before 4.0.7+dfsg1-1ubuntu2+esm1, plus listed versions 4.0.6+dfsg1-14.0.6+dfsg1-1build14.0.7+dfsg1-14.0.7+dfsg1-1ubuntu14.0.7+dfsg1-1ubuntu2 |
4.0.7+dfsg1-1ubuntu2+esm1 |
kicadUbuntu:Pro:20.04:LTS From an advisory covering 4 CVEs |
before 5.1.5+dfsg1-2ubuntu0.1~esm1, plus listed versions 5.1.4+dfsg1-15.1.4+dfsg1-25.1.5+dfsg1-15.1.5+dfsg1-25.1.5+dfsg1-2build15.1.5+dfsg1-2build2 |
5.1.5+dfsg1-2ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-23947 is a high vulnerability (CVSS 7.8) in Kicad Eda, published February 4, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.46%, the 73rd percentile. Fixed in kicad 6.0.2+dfsg-1.
References
talosintelligence.com/vulnerability_reports/TALOS-2022-1460
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5EMCGSSP3FIWCSL2KXVXLF35JYZKZE5Q
lists.debian.org/debian-lts-announce/2022/05/msg00009.html
lists.debian.org/debian-lts-announce/2022/08/msg00010.html
debian.org/security/2022/dsa-5214
nvd.nist.gov/vuln/detail/CVE-2022-23947
Show 15 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/5EMCGSSP3FIWCSL2KXVXLF35JYZKZE5Q
github.com/advisories/GHSA-g88p-g6v4-vfm2
security-tracker.debian.org/tracker/CVE-2022-23947
advisories.mageia.org/MGASA-2022-0295.html
bugs.mageia.org/show_bug.cgi?id=30109
lists.fedoraproject.org/archives/list/[email protected]/thread/5EMCGSSP3FIWCSL2KXVXLF35JYZKZE5Q
debian.org/lts/security/2022/dla-2998
kicad.org/blog/2022/07/KiCad-6.0.7-Release
ubuntu.com/security/CVE-2022-23947
cve.org/CVERecord?id=CVE-2022-23947
gitlab.com/kicad/code/kicad/-/issues/10700
ubuntu.com/security/notices/USN-7466-1
ubuntu.com/security/CVE-2022-23803
ubuntu.com/security/CVE-2022-23804
ubuntu.com/security/CVE-2022-23946