Buffer overflow in Gerbv Project

CVE-2021-40393

An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit 71493260). A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.031 (87.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-40393: held from 0.031 to 0.031.

EPSS over last 30 days · oldest: 0.031 · newest: 0.031 · change: 0.000

Affected products

  • Gerbv Project — versions 2.7.0
  • Debian Linux — versions 9.0, 10.0, 11.0
  • Gerbv — versions Gerbv 2.7.0, Gerbv dev (commit b5f1eacd),Gerbv forked dev (commit 71493260)

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-40393?
CVE-2021-40393 is a critical-severity vulnerability in Gerbv Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2021-12-22.
How severe is CVE-2021-40393?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2021-40393 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.