Improper Handling of Exceptional Conditions Affecting gerbv package, versions <2.6.0-1ubuntu0.14.04.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.89% (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-1912867
  • published21 Mar 2026
  • disclosed19 Nov 2021

Introduced: 19 Nov 2021

CVE-2021-40391  (opens in a new tab)
CWE-755  (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 drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Base Scores

version 3.1