# CVE-2026-56389: Arbitrary Command Execution in GNU Bison

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-29 · Modified: 2026-07-29
- Aliases: UBUNTU-CVE-2026-56389, USN-8777-1, DEBIAN-CVE-2026-56389
- Record: https://cvemate.com/vulnerability/CVE-2026-56389 · JSON: https://cvemate.com/vulnerability/CVE-2026-56389/json

## Description

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

## Signals

- CVSS: 8.6 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.158%, percentile 5.215%, 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

- debian bison (Debian): All versions (No fix recorded)
- ubuntu bison (Ubuntu): \< 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
- gnu bison: 3.8.2

## References

- <https://cert.pl/en/posts/2026/07/CVE-2026-56389>
- <https://cgit.git.savannah.gnu.org/cgit/bison.git/>
- <https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=3169c1e7a2c6acc4c59dfcf8b089896d6881925b>
- <https://ubuntu.com/security/CVE-2026-56389>
- <https://www.cve.org/CVERecord?id=CVE-2026-56389>
- <https://ubuntu.com/security/notices/USN-8777-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-56389>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56389>

---

Data as of 2026-12-05T03:20:58.637Z. 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
