Skip to main content
CVE-2026-56389VulnerabilityPublished Updated

GNU Bison allows for an execution of an arbitrary program during HTML report generation due to improper handling of grammar-defined configuration variables

Affects bisonSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56389· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium · fixed in 2:3.8.2+dfsg-1ubuntu0.22.04.1 : update bison when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2:3.8.2+dfsg-1ubuntu0.22.04.1, 2:3.8.2+dfsg-1ubuntu0.24.04.1, 2:3.8.2+dfsg-1ubuntu0.26.04.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:L/SI:L/SA:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu bison to 2:3.8.2+dfsg-1ubuntu0.22.04.1 (package) or 2:3.8.2+dfsg-1ubuntu0.24.04.1 (package) or 2:3.8.2+dfsg-1ubuntu0.26.04.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=resoluteOther threatsAffected
  • <2:3.8.2+dfsg-1ubuntu0.26.04.1
Fixed in
  • 2:3.8.2+dfsg-1ubuntu0.26.04.1
Ubuntu 24.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=nobleOther threatsAffected
  • <2:3.8.2+dfsg-1ubuntu0.24.04.1
Fixed in
  • 2:3.8.2+dfsg-1ubuntu0.24.04.1
Ubuntu 22.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=jammyOther threatsAffected
  • <2:3.8.2+dfsg-1ubuntu0.22.04.1
Fixed in
  • 2:3.8.2+dfsg-1ubuntu0.22.04.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

GNU Bison allows for an execution of an arbitrary program during HTML report generation due to improper handling of grammar-defined configuration variables. A grammar file can override the executable used for the XML‑to‑HTML transformation step via %define tool.xsltproc, which is accepted without restriction and passed directly to execvp(). When running bison --html on a attacker-provided grammar, this behavior allows execution of an arbitrary program with the privileges of the Bison process. Maintainers of this project were notified about this vulnerability, and fixed the issue in commit 3169c1e7a2c6acc4c59dfcf8b089896d6881925b. However, they did not provide vulnerable version range. Version 3.8.2 was tested and confirmed as vulnerable, other versions were not tested but might also be vulnerable.

References

Community reviews

Loading reviews…