CVE-2020-24240 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d | CVE | PatchThird Party Advisory |
| https://github.com/akimd/bison/compare/v3.7...v3.7.1 | CVE | Third Party Advisory |
| https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html | CVE | Mailing ListVendor Advisory |
| https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d | [email protected] | PatchThird Party Advisory |
| https://github.com/akimd/bison/compare/v3.7...v3.7.1 | [email protected] | Third Party Advisory |
| https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu bison | 3.7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 2, 2020 | Initial Analysis | [email protected] |
| Aug 31, 2020 | CVE Modified | [email protected] |