CVE-2026-56389: Arbitrary Program Execution in GNU Bison HTML Report Generation
- Vendor
- GNU Project
CVE-2026-56389 is an arbitrary program execution vulnerability in GNU Bison's HTML report generation. An attacker-controlled grammar can use the %define tool.xsltproc directive to override the executable used for XML-to-HTML transformation. Bison accepts this value without restriction and passes it directly to execvp(). Processing the malicious grammar with the --html option executes the selected program with the privileges of the Bison process. GNU Bison 3.8.2 is confirmed vulnerable; the complete affected version range is unknown.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution with the privileges of the user or service running Bison. This can compromise data and resources accessible to that account, including reading sensitive information, modifying files, and disrupting build or analysis workflows. The extent of compromise depends on the process's privileges and isolation.
Mitigation
If you can’t patch tonight, do this now.
Until patched, do not generate HTML reports from untrusted or attacker-provided grammars. Disable HTML report generation in workflows that accept untrusted grammars. Where processing cannot be avoided, isolate Bison and run it with least privilege, limiting access to sensitive data and writable resources; isolation reduces impact but does not correct the vulnerability.
Remediation
Patch, then assume compromise.
Apply upstream commit 3169c1e7a2c6acc4c59dfcf8b089896d6881925b or install a vendor package incorporating the fix. For Ubuntu, update bison to 2:3.8.2+dfsg-1ubuntu0.26.04.1 on 26.04 LTS, 2:3.8.2+dfsg-1ubuntu0.24.04.1 on 24.04 LTS, or 2:3.8.2+dfsg-1ubuntu0.22.04.1 on 22.04 LTS, or a later vendor-fixed version. Update affected EulerOS bison packages using the applicable security advisory. A complete upstream affected-version range and first fixed release are not available.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-56389 exploited in the wild?
- As of Nov 6, 2026, Mallory has no reports of CVE-2026-56389 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-56389?
- As of Nov 6, 2026, Mallory has found no public exploit for CVE-2026-56389.
- Is there a patch for CVE-2026-56389?
- Apply upstream commit 3169c1e7a2c6acc4c59dfcf8b089896d6881925b or install a vendor package incorporating the fix. For Ubuntu, update bison to 2:3.8.2+dfsg-1ubuntu0.26.04.1 on 26.04 LTS, 2:3.8.2+dfsg-1ubuntu0.24.04.1 on 24.04 LTS, or 2:3.8.2+dfsg-1ubuntu0.22.04.1 on 22.04 LTS, or a later vendor-fixed version.
- What products are affected by CVE-2026-56389?
- GNU Project Bison.
- How severe is CVE-2026-56389?
- CVE-2026-56389 has a CVSS v4 score of 6.8 (Medium) and an EPSS score of 0.16% (5th percentile) as of Nov 6, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.