Live threats

All CVEs / Gnu

CVE-2020-24240Gnu Bison

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
Yes
Published
Aug 25, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bison.

Affected products (CPE)

VendorProductVersions
gnubison3.7

Official sources

References

Links published by the sources. Open them with care.