CVE catalog

CVE-2020-24240

bison: CVE-2020-24240

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
1.26% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbisonsid2:3.8.2+dfsg-1fixed
Debianbisonforky2:3.8.2+dfsg-1fixed
Debianbisontrixie2:3.8.2+dfsg-1fixed
Debianbisonbookworm2:3.8.2+dfsg-1fixed
Ubuntubison16.042:3.0.2.dfsg-2vulnerable
Ubuntubison16.042:3.0.4.dfsg-1vulnerable
Ubuntubison18.042:3.0.4.dfsg-1build1vulnerable
Ubuntubison20.042:3.4.1+dfsg-4vulnerable
Ubuntubison20.042:3.4.2+dfsg-1vulnerable
Ubuntubison20.042:3.5.1+dfsg-1vulnerable
Alpinebison3.133.7.2-r0fixed
Alpinebison3.143.7.2-r0fixed
Alpinebison3.153.7.2-r0fixed
Alpinebison3.163.7.2-r0fixed
Alpinebison3.173.7.2-r0fixed
Alpinebison3.183.7.2-r0fixed
Alpinebison3.193.7.2-r0fixed
Alpinebison3.203.7.2-r0fixed
Alpinebison3.213.7.2-r0fixed
Alpinebison3.223.7.2-r0fixed
Alpinebison3.233.7.2-r0fixed
Alpinebison3.243.7.2-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbisonsourcesid2:3.7.2+dfsg-1unimportantNot reportedNot reported
Debianbisonsourceforky2:3.7.2+dfsg-1unimportantNot reportedNot reported
Debianbisonsourcetrixie2:3.7.2+dfsg-1unimportantNot reportedNot reported
Debianbisonsourcebookworm2:3.7.2+dfsg-1unimportantNot reportedNot reported
Alpinebisonapk3.133.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.143.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.153.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.163.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.173.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.183.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.193.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.203.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.213.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.223.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.233.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported
Alpinebisonapk3.243.7.2-r0Not reportedALPINE-CVE-2020-24240Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bison]Fixed

    Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b1 · amd64 · bookworm

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · bookworm; dsa · bison · debian · 12

    • 2:3.8.2+dfsg-1+b1 · arm64 · bookworm

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · bookworm; dsa · bison · debian · 12

  • Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b1 · amd64 · bookworm

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · bookworm; dsa · bison · debian · 12

    • 2:3.8.2+dfsg-1+b1 · arm64 · bookworm

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · bookworm; dsa · bison · debian · 12

[Debian 13 (Trixie)]

  • [bison]Fixed

    Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b2 · amd64 · trixie

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · 13

    • 2:3.8.2+dfsg-1+b2 · arm64 · trixie

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · 13

  • Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b2 · amd64 · trixie

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · 13

    • 2:3.8.2+dfsg-1+b2 · arm64 · trixie

      Fixed · Fixed: 2:3.7.2+dfsg-1

      dsa · bison · debian · 13

Observed:

References