CVE-2020-24240

Summary

CVECVE-2020-24240
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-08-25 14:15:00 UTC
Updated2020-09-02 14:31:00 UTC
DescriptionGNU 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.

Risk And Classification

Problem Types: CWE-416

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Bison 3.7 All All All
Application Gnu Bison 3.7 All All All

References

ReferenceSourceLinkTags
Comparing v3.7...v3.7.1 · akimd/bison · GitHub MISC github.com Third Party Advisory
[bison 3.7] Bug Report MISC lists.gnu.org Mailing List, Vendor Advisory
scanner: don't crash on strings containing a NUL byte · akimd/bison@be95a4f · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 501385 Alpine Linux Security Update for bison
  • 503070 Alpine Linux Security Update for bison
  • 503338 Alpine Linux Security Update for bison
  • 503412 Alpine Linux Security Update for bison
  • 503501 Alpine Linux Security Update for bison
  • 503528 Alpine Linux Security Update for bison
  • 503576 Alpine Linux Security Update for bison
  • 503613 Alpine Linux Security Update for bison
  • 503642 Alpine Linux Security Update for bison
  • 503661 Alpine Linux Security Update for bison
  • 505856 Alpine Linux Security Update for bison
  • 672281 EulerOS Security Update for bison (EulerOS-SA-2022-2674)
  • 672297 EulerOS Security Update for bison (EulerOS-SA-2022-2642)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report