PT-2020-15669 · Gnu · Gnu Bison

Suhwan Song

·

Published

2020-08-25

·

Updated

2022-07-22

·

CVE-2020-24240

CVSS v2.0

7.1

High

VectorAV:N/AC:M/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions GNU Bison versions prior to 3.7.1
Description The issue arises from a use-after-free in obstack free in lib/obstack.c, which is called from gram lex, when a '0' byte is encountered. This poses a risk only if GNU Bison is used with untrusted input, and the observed bug causes unsafe behavior with a specific compiler or architecture. The bug report indicates that a crash may occur in GNU Bison itself.
Recommendations For GNU Bison versions prior to 3.7.1, update to version 3.7.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of GNU Bison with untrusted input until a patch is available.

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-24240
OESA-2022-1767

Affected Products

Gnu Bison