LiveActive security incident?Get immediate response
CVE Record

CVE-2020-24240: GNU Bison before 3.7.1 has a use-after-free in _obstack_free in lib/obstack.c (called from gram_lex) when a...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

GNU Bison before 3.7.1 could crash or behave unsafely when processing input containing a null byte. This matters mainly where Bison itself processes untrusted files, such as automated build or analysis services. The CVE notes this is not evidence that Bison-generated code is affected.

Executive priority

Treat as low priority unless your organization runs Bison as a service or in automated pipelines handling untrusted source packages. For normal software consumption, the cited evidence points to limited operational exposure.

Technical view

The issue is a use-after-free in _obstack_free in lib/obstack.c, reached from gram_lex when a '\0' byte is encountered. The CVE notes unsafe behavior was observed only with a specific compiler and architecture, and frames the demonstrated impact as a crash in Bison itself.

Likely exposure

Exposure is most likely in developer workstations, package builders, CI systems, or web services that run GNU Bison before 3.7.1 on untrusted input. Systems only running parsers generated by Bison are not identified as affected by the cited CVE text.

Exploitation context

No active exploitation is cited, and this CVE is not listed as KEV in the supplied bundle. Practical risk depends on whether attackers can supply files to Bison. The public description emphasizes a Bison process crash scenario, not compromise of generated parser code.

Researcher notes

Key uncertainty remains exploitability beyond crash behavior. The CVE specifically narrows risk to untrusted Bison input and compiler/architecture-dependent unsafe behavior. Focus validation on build pipeline exposure and exact Bison versions rather than downstream generated code.

Mitigation direction

  • Upgrade GNU Bison to 3.7.1 or later where feasible.
  • Do not run vulnerable Bison versions on untrusted grammar input.
  • Restrict CI or build services that accept external source packages.
  • Check GNU Bison release notes or vendor packages for backported fixes.

Validation and detection

  • Inventory hosts, containers, and CI images for GNU Bison versions before 3.7.1.
  • Identify workflows where Bison processes externally supplied files.
  • Confirm package manager advisories or changelogs show the relevant fix.
  • Verify generated parser consumers are not misclassified as directly affected.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2020-24240 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.