bison: GNU Bison allows for an execution of an arbitrary program during HTML report generation due to improper handling of g...
CVE-2026-56389 is fixed in bison on 1 platform, first by bison 2:3.8.2+dfsg-1ubuntu0.22.04.1, released July 29, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bison · Ubuntu 22.04.1 LTS (jammy) | 2:3.8.2+dfsg-1ubuntu0.22.04.1 | bison 2:3.8.2+dfsg-1ubuntu0.22.04.1 | Jul 29, 2026 |
| bison · Ubuntu 24.04.5 LTS (noble) | 2:3.8.2+dfsg-1ubuntu0.24.04.1 | bison 2:3.8.2+dfsg-1ubuntu0.24.04.1 | Jul 29, 2026 |
| bison · Ubuntu 26.04.1 LTS (resolute) | 2:3.8.2+dfsg-1ubuntu0.26.04.1 | bison 2:3.8.2+dfsg-1ubuntu0.26.04.1 | Jul 29, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.