Unchecked Return Value Affecting gerbv package, versions <2.6.0-1ubuntu0.14.04.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.32% (68th 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-2395551
  • published21 Mar 2026
  • disclosed4 Feb 2022

Introduced: 4 Feb 2022

CVE-2021-40401  (opens in a new tab)
CWE-252  (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.

A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. 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