Advisory

DEBIAN-CVE-2020-24240

Also known as: CVE-2020-24240

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2020-08-25 14:15 UTC
Modified
2026-10-26 12:02 UTC

Affected packages and fixes

bison

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2:3.7.2+dfsg-1 (ecosystem)

Fixed versions

2:3.7.2+dfsg-1

Fix

  • Fixed version 2:3.7.2+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bison

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2:3.7.2+dfsg-1 (ecosystem)

Fixed versions

2:3.7.2+dfsg-1

Fix

  • Fixed version 2:3.7.2+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bison

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2:3.7.2+dfsg-1 (ecosystem)

Fixed versions

2:3.7.2+dfsg-1

Fix

  • Fixed version 2:3.7.2+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences