Buffer overflow in Gerbv Project

CVE-2021-40394

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.029 (86.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.5% 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-40394: held from 0.029 to 0.029.

EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · 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)

References

Frequently asked questions

What is CVE-2021-40394?
CVE-2021-40394 is a critical-severity vulnerability in Gerbv Project, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2021-12-22.
How severe is CVE-2021-40394?
Critical severity. CVSS v3 base score is 9.8 out of 10.