CVEfocus › CVE database › CVE-2026-56389

CVE-2026-56389Arbitrary Command Execution in GNU Bison

CVSS 6.8 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-07-29Updated 2026-07-29Assigner: CERT-PL

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.

CWE-78

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
15Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04bisonFixed2:3.8.2+dfsg-1ubuntu0.26.04.1UBUNTU-CVE-2026-56389
Ubuntu 24.04bisonFixed2:3.8.2+dfsg-1ubuntu0.24.04.1UBUNTU-CVE-2026-56389
Ubuntu 22.04bisonFixed2:3.8.2+dfsg-1ubuntu0.22.04.1UBUNTU-CVE-2026-56389
Debian 14bisonFix pendingDEBIAN-CVE-2026-56389
Debian 13bisonFix pendingDEBIAN-CVE-2026-56389
Debian 12bisonFix pendingDEBIAN-CVE-2026-56389
Red Hat Enterprise Linux 10bisonFix pending
Fix deferred
Red Hat Enterprise Linux 10bison-develFix pending
Fix deferred
Red Hat Enterprise Linux 10bison-runtimeFix pending
Fix deferred
Red Hat Enterprise Linux 9bisonFix pending
Fix deferred
Red Hat Enterprise Linux 9bison-develFix pending
Fix deferred
Red Hat Enterprise Linux 9bison-runtimeFix pending
Fix deferred
Red Hat Enterprise Linux 8bisonFix pending
Fix deferred
Red Hat Enterprise Linux 8bison-develFix pending
Fix deferred
Red Hat Enterprise Linux 8bison-runtimeFix pending
Fix deferred
Red Hat Enterprise Linux 7bisonFix pending
Fix deferred
Red Hat Enterprise Linux 7bison-develFix pending
Fix deferred
Red Hat Enterprise Linux 7bison-runtimeFix pending
Fix deferred
Red Hat Enterprise Linux 6bisonWill not fix
Out of support scope
Red Hat Enterprise Linux 6bison-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6bison-runtimeWill not fix
Out of support scope

What the vendor says

As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.