Debian Security Advisory

DLA-2998-1 kicad -- LTS security update

Date Reported:
10 May 2022
Affected Packages:
kicad
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2022-23803, CVE-2022-23804, CVE-2022-23946, CVE-2022-23947.
More information:

KiCad is a suite of programs for the creation of printed circuit boards. It includes a schematic editor, a PCB layout tool, support tools and a 3D viewer to display a finished & fully populated PCB.

Several buffer-overflows were discovered in the Gerber Viewer and excellon file parser, that could lead to code execution when opening a maliciously-crafted file.

  • CVE-2022-23803

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadXYCoord coordinate parsing functionality of KiCad EDA.

  • CVE-2022-23804

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadIJCoord coordinate parsing functionality of KiCad EDA.

  • CVE-2022-23946

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon GCodeNumber parsing functionality of KiCad EDA.

  • CVE-2022-23947

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon DCodeNumber parsing functionality of KiCad EDA.

For Debian 9 stretch, these problems have been fixed in version 4.0.5+dfsg1-4+deb9u1.

We recommend that you upgrade your kicad packages.

For the detailed security status of kicad please refer to its security tracker page at: https://security-tracker.debian.org/tracker/kicad

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS