ubuntu-cve-2022-23947
Vulnerability from osv_ubuntu
Published
2022-02-04 23:15
Modified
2025-09-08 16:50
Summary
Details
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.
Severity
7.8 (High)
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "kicad",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-common",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-ca",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-de",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-en",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-es",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-fr",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-id",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-it",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-ja",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-nl",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-pl",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
},
{
"binary_name": "kicad-doc-ru",
"binary_version": "4.0.7+dfsg1-1ubuntu2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "kicad",
"purl": "pkg:deb/ubuntu/kicad@4.0.7+dfsg1-1ubuntu2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.0.7+dfsg1-1ubuntu2+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.6+dfsg1-1",
"4.0.6+dfsg1-1build1",
"4.0.7+dfsg1-1",
"4.0.7+dfsg1-1ubuntu1",
"4.0.7+dfsg1-1ubuntu2"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "kicad",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-common",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-demos",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-ca",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-de",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-en",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-es",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-fr",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-id",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-it",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-ja",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-pl",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-ru",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-doc-zh",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
},
{
"binary_name": "kicad-libraries",
"binary_version": "5.1.5+dfsg1-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "kicad",
"purl": "pkg:deb/ubuntu/kicad@5.1.5+dfsg1-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.5+dfsg1-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.1.4+dfsg1-1",
"5.1.4+dfsg1-2",
"5.1.5+dfsg1-1",
"5.1.5+dfsg1-2",
"5.1.5+dfsg1-2build1",
"5.1.5+dfsg1-2build2"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2022-23947",
"modified": "2025-09-08T16:50:03Z",
"published": "2022-02-04T23:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-23947"
},
{
"type": "REPORT",
"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2022-1460"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-23947"
},
{
"type": "REPORT",
"url": "https://gitlab.com/kicad/code/kicad/-/issues/10700"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7466-1"
}
],
"related": [
"USN-7466-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-23947"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…