Arbitrary Command Execution in GNU Bison
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle
AI Analysis
Technical Summary
CVE-2026-56389 describes a command injection vulnerability in GNU Bison's HTML report generation feature. The vulnerability arises because the %define tool.xsltproc grammar directive can specify an arbitrary executable for the XML-to-HTML transformation step. This value is passed directly to execvp() without validation, allowing an attacker to execute arbitrary programs with the privileges of the Bison process. The vulnerability was reported to maintainers and fixed in a specific commit, but the exact affected version range is not clearly defined. Version 3.8.2 is confirmed vulnerable; other versions, including 3.0, may also be affected.
Potential Impact
An attacker who can supply a malicious grammar file and run bison with the --html option can execute arbitrary code with the privileges of the Bison process. This can lead to full compromise of the affected system depending on the privileges of the user running Bison. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix for this vulnerability has been committed by the maintainers. Users should update to a version that includes the fix once it is officially released. Until then, avoid running bison --html on untrusted grammar files to prevent arbitrary code execution. Monitor the official GNU Bison project for updated releases and advisories.
Arbitrary Command Execution in GNU Bison
Description
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56389 describes a command injection vulnerability in GNU Bison's HTML report generation feature. The vulnerability arises because the %define tool.xsltproc grammar directive can specify an arbitrary executable for the XML-to-HTML transformation step. This value is passed directly to execvp() without validation, allowing an attacker to execute arbitrary programs with the privileges of the Bison process. The vulnerability was reported to maintainers and fixed in a specific commit, but the exact affected version range is not clearly defined. Version 3.8.2 is confirmed vulnerable; other versions, including 3.0, may also be affected.
Potential Impact
An attacker who can supply a malicious grammar file and run bison with the --html option can execute arbitrary code with the privileges of the Bison process. This can lead to full compromise of the affected system depending on the privileges of the user running Bison. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix for this vulnerability has been committed by the maintainers. Users should update to a version that includes the fix once it is officially released. Until then, avoid running bison --html on untrusted grammar files to prevent arbitrary code execution. Monitor the official GNU Bison project for updated releases and advisories.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2026-56389
- Cve Count
- 1
- State
- PUBLISHED
Threat ID: 6a7ff60bbf8831d53988216b
Added to database: 08/15/2026, 05:15:55 UTC
Last enriched: 09/13/2026, 12:53:56 UTC
Last updated: 09/29/2026, 18:11:19 UTC
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.