« List of all CVEs

CVE-2020-24240

Published: 8/25/2020 Last updated: 8/4/2024 Reserved: 8/13/2020

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.

CNA assigner: mitre (8254265b-2729-46b6-b9e3-3dfca2d5bfca) Requested by: n/a

Opam packages affected (1)

conf-bison

Products affected (1)

Product Vendor Version
n/a n/a < 3.9.21

References (6)