CVE-2020-24240

Source
https://cve.org/CVERecord?id=CVE-2020-24240
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-24240.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-24240
Downstream
Published
2020-08-25T14:15:16Z
Modified
2026-05-18T13:28:40Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/akimd/bison

Affected ranges

Type
GIT
Repo
https://github.com/akimd/bison
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gnu:bison:3.7:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.7"
        }
    ],
    "source": "CPE_FIELD"
}

Affected versions

Other
GNU_1_26
GNU_1_27
GNU_1_28
GNU_ORIG
after-merge-branch-1_29
before-m4-back-end
pre-merge-of-1-29-branch
v1.*
v1.28b
v1.28c
v1.49a
v1.49b
v1.49c
v1.75
v1.875
v2.*
v2.0
v2.1
v2.3a
v2.3b
v2.4
v2.7.90
v2.7.91
v3.*
v3.0
v3.1
v3.1.90
v3.1.91
v3.2
v3.2.1
v3.2.90
v3.2.91
v3.3
v3.3.90
v3.3.91
v3.4
v3.4.1
v3.4.90
v3.4.91
v3.4.92
v3.5
v3.5.90
v3.5.91
v3.5.92
v3.5.93
v3.5.94
v3.6
v3.6.90
v3.6.91
v3.6.92
v3.6.93
v3.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-24240.json"