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
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
- 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:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2026-56389 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-56389 (opens in a new tab)
- cert.pl/en/posts/2026/07/CVE-2026-56389 (opens in a new tab)
- cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=3169c1e7a2c6acc4c59dfcf8b089896d6881925b (opens in a new tab)
- cgit.git.savannah.gnu.org/cgit/bison.git/ (opens in a new tab)
- ubuntu.com/security/notices/USN-8777-1 (opens in a new tab)