{"id":"CVE-2022-23947","aliases":["DEBIAN-CVE-2022-23947","DLA-2998-1","DLA-3078-1","DSA-5214-1","EUVD-2022-28863","GHSA-g88p-g6v4-vfm2","MGASA-2022-0295","UBUNTU-CVE-2022-23947","USN-7466-1"],"status":"published","title":"A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon...","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.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.0146,"percentile":0.73732,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-121","CWE-787"],"published":"2022-02-04T22:28:59Z","modified":"2026-11-03T08:01:26Z","fixes":[{"ecosystem":"Debian:12","package":"kicad","fixed_in":["6.0.2+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"kicad","fixed_in":["6.0.2+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"kicad","fixed_in":["6.0.2+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kicad","fixed_in":["4.0.7+dfsg1-1ubuntu2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"kicad","fixed_in":["5.1.5+dfsg1-2ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.5+dfsg1-4+deb9u1"}]}],"versions":["4.0.5+dfsg1-4"],"bundled":4},{"source":"osv","ecosystem":"Debian:10","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2+dfsg1-1+deb10u1"}]}],"versions":["5.0.2+dfsg1-1"],"bundled":4},{"source":"osv","ecosystem":"Debian:11","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.9+dfsg1-1+deb11u1"}]}],"versions":["5.1.9+dfsg1-1"],"bundled":4},{"source":"osv","ecosystem":"Mageia:8","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.12-1.1.mga8"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7+dfsg1-1ubuntu2+esm1"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.5+dfsg1-2ubuntu0.1~esm1"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7+dfsg1-1ubuntu2+esm1"}]}],"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"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"kicad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.5+dfsg1-2ubuntu0.1~esm1"}]}],"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"],"bundled":4}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"kicad","product":"kicad_eda"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2022-1460","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5EMCGSSP3FIWCSL2KXVXLF35JYZKZE5Q/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00009.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00010.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5214","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23947"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5EMCGSSP3FIWCSL2KXVXLF35JYZKZE5Q/"},{"url":"https://github.com/advisories/GHSA-g88p-g6v4-vfm2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-23947","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0295.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30109","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/5EMCGSSP3FIWCSL2KXVXLF35JYZKZE5Q/","tags":["web"]},{"url":"https://www.debian.org/lts/security/2022/dla-2998","tags":["web"]},{"url":"https://www.kicad.org/blog/2022/07/KiCad-6.0.7-Release/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-23947","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23947","tags":["report"]},{"url":"https://gitlab.com/kicad/code/kicad/-/issues/10700","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7466-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-23803","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-23804","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-23946","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-23947","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.","status":"published","published":"2022-02-04T22:28:59Z","modified":"2025-04-15T19:11:45.863Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:34:29.478363Z"}],"euvd":[{"id":"EUVD-2022-28863","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.","status":"published","published":"2022-02-04T22:28:59Z","modified":"2025-04-15T19:11:45Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:26.772603Z"}],"ghsa":[{"id":"GHSA-g88p-g6v4-vfm2","title":"A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon...","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.","status":"published","published":"2022-02-12T00:01:09Z","modified":"2023-02-03T05:05:32Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-121","CWE-787"],"updated_at":"2026-11-02T14:53:45.336505Z"}],"nvd":[{"id":"CVE-2022-23947","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.","status":"published","published":"2022-02-04T23:15:15.913Z","modified":"2026-06-17T04:31:02.11Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-121","CWE-787"],"updated_at":"2026-11-02T14:07:11.52734Z"}],"osv":[{"id":"CVE-2022-23947","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.","status":"published","published":"2022-02-04T23:15:15.913Z","modified":"2026-04-16T04:42:22.787910152Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"DEBIAN-CVE-2022-23947","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.","status":"published","published":"2022-02-04T23:15:15.913Z","modified":"2026-11-03T08:01:26.900860937Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"UBUNTU-CVE-2022-23947","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.","status":"published","published":"2022-02-04T23:15:00Z","modified":"2026-02-04T03:37:35.018086Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"DLA-2998-1","title":"kicad - security update","status":"published","published":"2022-05-09T00:00:00Z","modified":"2026-03-09T01:19:04.045777Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DLA-3078-1","title":"kicad - security update","status":"published","published":"2022-08-20T00:00:00Z","modified":"2026-03-09T01:21:47.67116Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-5214-1","title":"kicad - security update","status":"published","published":"2022-08-21T00:00:00Z","modified":"2026-03-09T02:09:15.669402Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2022-0295","title":"Updated kicad packages fix security vulnerability","description":"Multiple buffer overflows were discovered in Kicad, a suite of programs\nfor the creation of printed circuit boards, which could result in the\nexecution of arbitrary code if malformed Gerber/Excellon files, as\nfollows.\n\nA stack-based buffer overflow vulnerability exists in the Gerber Viewer\ngerber and excellon ReadXYCoord coordinate parsing functionality of KiCad\nEDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or\nexcellon file can lead to code execution. An attacker can provide a\nmalicious file to trigger this vulnerability. (CVE-2022-23803)\n\nA stack-based buffer overflow vulnerability exists in the Gerber Viewer\ngerber and excellon ReadIJCoord coordinate parsing functionality of KiCad\nEDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or\nexcellon file can lead to code execution. An attacker can provide a\nmalicious file to trigger this vulnerability. (CVE-2022-23804)\n\nA stack-based buffer overflow vulnerability exists in the Gerber Viewer\ngerber and excellon GCodeNumber parsing functionality of KiCad EDA 6.0.1\nand master commit de006fc010. A specially-crafted gerber or excellon file\ncan lead to code execution. An attacker can provide a malicious file to\ntrigger this vulnerability. (CVE-2022-23946)\n\nA stack-based buffer overflow vulnerability exists in the Gerber Viewer\ngerber and excellon DCodeNumber parsing functionality of KiCad EDA 6.0.1\nand master commit de006fc010. A specially-crafted gerber or excellon file\ncan lead to code execution. An attacker can provide a malicious file to\ntrigger this vulnerability. (CVE-2022-23947)\n","status":"published","published":"2022-08-25T21:21:07Z","modified":"2026-04-16T04:41:34.324492088Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"USN-7466-1","title":"kicad vulnerabilities","description":"It was discovered that KiCad incorrectly handled memory when opening\nmalicious files. An attacker could possibly use this issue to cause a\ndenial of service or execute arbitrary commands.\n","status":"published","published":"2025-04-28T12:03:12Z","modified":"2026-02-10T04:48:35Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
