Skip to content
OpenAdvisories
High · 7.8 CVE-2022-23947 EUVD-2022-28863GHSA-g88p-g6v4-vfm2

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

Published Feb 4, 2022 · Updated Apr 15, 2025 · Assigned by talos

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.

Affected products

VendorProductAffectedFixed
— KiCad KiCad EDA 6.0.1,KiCad EDA master commit de006fc010 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kicad 6.0.2+dfsg-1 —
Debian 13 kicad 6.0.2+dfsg-1 —
Debian 12 kicad 6.0.2+dfsg-1 —
Debian 11 kicad 5.1.9+dfsg1-1+deb11u1 DSA-5214-1
Debian 10 kicad 5.0.2+dfsg1-1+deb10u1 DLA-3078-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 kicad 4.0.5+dfsg1-4+deb9u1 DLA-2998-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS kicad 5.1.5+dfsg1-2ubuntu0.1~esm1 USN-7466-1
Ubuntu Pro 18.04 LTS kicad 4.0.7+dfsg1-1ubuntu2+esm1 USN-7466-1

Advisories 4

References