Vulnerability · Published Apr 14, 2022 · Assigned by talos

CVE-2021-40402

Critical 9.3

In plain English

A critical-severity security flaw in Gerbv from Gerbv. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities).

Severity (CVSS 3.0)9.3Critical
Exploit odds (30 days)1.5%top 25.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12gerbvno fix listedDEBIAN-CVE-2021-40402
Debian:13gerbvno fix listedDEBIAN-CVE-2021-40402
Ubuntu:24.04:LTSgerbvno fix listedUBUNTU-CVE-2021-40402
Ubuntu:25.10gerbvno fix listedUBUNTU-CVE-2021-40402
Ubuntu:26.04:LTSgerbvno fix listedUBUNTU-CVE-2021-40402
Ubuntu:26.10gerbvno fix listedUBUNTU-CVE-2021-40402

Affected products (as reported)

VendorProductVersions
Gerbv Gerbv 2.7.0dev (commit b5f1eacd)
Gerbv Gerbv forked 2.7.12.8.0

Weakness: CWE-755 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H

References