Use After Free Affecting bison package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.27% (70th 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-RHEL10-BISON-22253569
  • published6 Nov 2026
  • disclosed28 Jul 2020

Introduced: 28 Jul 2020

CVE-2020-24240  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 bison.

NVD Description

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

GNU Bison before 3.7.1 has a use-after-free in _obstack_free in lib/obstack.c (called from gram_lex) when a '\0' byte is encountered. NOTE: there is a risk only if Bison is used with untrusted input, and the observed bug happens to cause unsafe behavior with a specific compiler/architecture. The bug report was intended to show that a crash may occur in Bison itself, not that a crash may occur in code that is generated by Bison.

CVSS Base Scores

version 3.1