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.
Advisories
Source ID Title
EUVD EUVD EUVD-2020-16975 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T15:12:08.957Z

Reserved: 2020-08-13T00:00:00

Link: CVE-2020-24240

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-08-25T14:15:16.543

Modified: 2024-11-21T05:14:32.130

Link: CVE-2020-24240

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-07-28T00:00:00Z

Links: CVE-2020-24240 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses