Cloudanix VulnDB

CVE-2026-56389

High · 8.6

CVSS

8.6

EPSS

0.2%

Published

Jul 29, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A common parser generator tool can be tricked into running attacker-chosen programs when it processes certain input files, putting systems at risk of unauthorized code execution.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Command Injection
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

The flaw allows an attacker to specify an arbitrary executable via the %define tool.xsltproc directive in a Bison grammar file, which is then passed directly to execvp() during HTML report generation with bison --html.

Why it matters to the business

Attackers could run malicious code on systems that process untrusted grammar files with Bison, potentially leading to unauthorized access or system compromise, especially in build or development environments; 89 days have passed since disclosure with low but stable exploit probability.

How an attack unfolds

An attacker crafts a malicious grammar file with %define tool.xsltproc pointing to their executable, then tricks a user into running bison --html on it, executing the arbitrary program with Bison's privileges.

How to fix it

Update GNU Bison to a build incorporating commit 3169c1e7a2c6acc4c59dfcf8b089896d6881925b or later; avoid processing untrusted grammars with the --html flag until patched.

How to confirm the fix worked

Verify Bison version includes the referenced commit; test by attempting to build HTML output from a grammar that sets tool.xsltproc and confirm no arbitrary execution occurs.

Typical attack path

  1. Craft malicious Bison grammar file overriding tool.xsltproc
  2. Distribute the grammar to target
  3. Victim runs 'bison --html' on the grammar
  4. Arbitrary command executes via execvp

How to detect it

Inspect process creation logs and command lines for bison invocations using the --html flag; monitor for unexpected child processes or exec calls originating from the Bison binary when handling grammar files.

  • bison --html
  • %define tool.xsltproc
  • execvp.*bison

What your security team should do

  • Apply patched Bison build across all affected systems without delay
  • Restrict bison --html usage to trusted grammar sources only
  • Audit development and CI pipelines for untrusted grammar file handling

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities