Medium severity5.5NVD Advisory· Published Aug 25, 2020· Updated Jun 17, 2026
CVE-2020-24240
CVE-2020-24240
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- GNU/Bisondescription
Patches
Vulnerability mechanics
References
3- github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68dnvdPatchThird Party Advisory
- github.com/akimd/bison/compare/v3.7...v3.7.1nvdThird Party Advisory
- lists.gnu.org/r/bug-bison/2020-07/msg00051.htmlnvdMailing ListVendor Advisory
News mentions
0No linked articles in our index yet.