CVE-2026-56389
Arbitrary Command Execution in GNU Bison
Reported by cert-pl · Published July 29, 2026
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GNU | Bison | 3.8.2 |
| GNU | Bison | 3.8.2 |
Timeline
- Jul 29, 2026 Coalition ESS Score
- Jul 29, 2026 CVE Published
- Jul 29, 2026 CVE Updated
- Aug 7, 2026 EPSS Score (16 in total, the first dated here)
- Aug 13, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-56389
vulnetix vdb fixes CVE-2026-56389
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-56389/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart