Out-of-bounds Write Affecting gerbv package, versions <2.6.0-1ubuntu0.14.04.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
3.06% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1404-GERBV-2326026
  • published21 Mar 2026
  • disclosed22 Dec 2021

Introduced: 22 Dec 2021

CVE-2021-40393  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 gerbv to version 2.6.0-1ubuntu0.14.04.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gerbv package and not the gerbv package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1