# CVE-2020-24240

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-08-25 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2020-24240, UBUNTU-CVE-2020-24240, DEBIAN-CVE-2020-24240
- Record: https://cvemate.com/vulnerability/CVE-2020-24240 · JSON: https://cvemate.com/vulnerability/CVE-2020-24240/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v2.0, NVD) AV:N/AC:M/Au:N/C:N/I:N/A:C
- EPSS: 1.275%, percentile 70.917%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine bison (Alpine Linux): \< 3.7.2-r0
- debian bison (Debian): \< 2:3.7.2+dfsg-1
- ubuntu bison (Ubuntu): All versions (No fix recorded)
- gnu bison: 3.7

## References

- <https://github.com/akimd/bison/commit/be95a4fe2951374676efc9454ffee8638faaf68d>
- <https://lists.gnu.org/r/bug-bison/2020-07/msg00051.html>
- <https://github.com/akimd/bison/compare/v3.7...v3.7.1>
- <https://security.alpinelinux.org/vuln/CVE-2020-24240>
- <https://ubuntu.com/security/CVE-2020-24240>
- <https://www.cve.org/CVERecord?id=CVE-2020-24240>
- <https://security-tracker.debian.org/tracker/CVE-2020-24240>

---

Data as of 2026-12-05T03:14:41.965Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
