CVE-2022-23804

NameCVE-2022-23804
DescriptionA stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadIJCoord coordinate 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2998-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kicad (PTS)stretch4.0.5+dfsg1-4vulnerable
stretch (security)4.0.5+dfsg1-4+deb9u1fixed
buster5.0.2+dfsg1-1vulnerable
bullseye5.1.9+dfsg1-1vulnerable
bookworm, sid6.0.4+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kicadsourcestretch4.0.5+dfsg1-4+deb9u1DLA-2998-1
kicadsource(unstable)6.0.2+dfsg-1

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2022-1453
https://gitlab.com/kicad/code/kicad/-/issues/10719
https://gitlab.com/kicad/code/kicad/-/commit/927afe313d1f104391814ee7d5d9cca0a520aa50 (6.0.2)
https://gitlab.com/kicad/code/kicad/-/commit/7ed569058c516974c47b4a506daa3daea4248e05 (master)

Search for package or bug name: Reporting problems