{"id":"CVE-2020-24240","state":"PUBLISHED","title":"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 wi","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.","publishedAt":"2020-08-25T13:45:01.000Z","updatedAt":"2024-08-04T15:12:08.957Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d","https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html","https://github.com/akimd/bison/compare/v3.7...v3.7.1"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:03.086Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/24xxx/CVE-2020-24240.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-24240","state":"PUBLISHED","datePublished":"2020-08-25T13:45:01.000Z","dateUpdated":"2024-08-04T15:12:08.957Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-08-13T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d","tags":["x_refsource_MISC"]},{"url":"https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/akimd/bison/compare/v3.7...v3.7.1","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-08-31T02:52:20.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-24240","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d","refsource":"MISC","url":"https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d"},{"name":"https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html","refsource":"MISC","url":"https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html"},{"name":"https://github.com/akimd/bison/compare/v3.7...v3.7.1","refsource":"MISC","url":"https://github.com/akimd/bison/compare/v3.7...v3.7.1"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/akimd/bison/compare/v3.7...v3.7.1","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T15:12:08.957Z"}}]}}}