CVE-2022-23946
A public proof of concept exists; no exploitation attested.
- Published2022-02-04
- WeaknessCWE-121 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-02-0423:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 35.x | = 35 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.0 | = 6.0.1 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As talos, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- KiCadAffected
- = KiCad EDA 6.0.1,KiCad EDA master commit de006fc010no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-08-22
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- kicadUbuntu:Pro:20.04:LTSall versions · fixed in 5.1.5+dfsg1-2ubuntu0.1~esm1
- kicadUbuntu:Pro:18.04:LTSall versions · fixed in 4.0.7+dfsg1-1ubuntu2+esm1
- kicadMageia:8all versions · fixed in 5.1.12-1.1.mga8
- kicadDebian:14all versions · fixed in 6.0.2+dfsg-1
- kicadDebian:13all versions · fixed in 6.0.2+dfsg-1
- kicadDebian:12all versions · fixed in 6.0.2+dfsg-1
- kicadDebian:11all versions · fixed in 5.1.9+dfsg1-1+deb11u1
- kicadDebian:10all versions · fixed in 5.0.2+dfsg1-1+deb10u1
1 more package range on OSV.dev
Vendor advisories
- CVE-2022-23946 Red Hat Product Security
kicad: KiCad 6.0.1 Stack-based buffer overflow in GCodeNumber parsing
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-15
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-15
- NVDCVSS 3.17.8read 2026-10-23
- CNACVSS 3.07.8known since 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- CNAweakness (CWE)CWE-121known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score1.7 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2022-28862same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5xw6-g598-2v26same flawGitHub Advisory Database · CC-BY-4.0
- DLA-2998-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3078-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5214-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0295advisory covering several CVEsMageia · LicenseRef-unstated
- USN-7466-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2022-02-04
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-5xw6-g598-2v26
Frequently asked questions
What is CVE-2022-23946?
Is CVE-2022-23946 actively exploited?
What is the CVSS score for CVE-2022-23946?
Running kicad? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5xw6-g598-2v26
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0