PT-2026-65777 · Gnu · Bison
CVSS v3.1
8.6
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
GNU Bison version 3.8.2
Description
Improper handling of grammar-defined configuration variables allows the execution of an arbitrary program during HTML report generation. A grammar file can override the executable used for the XML-to-HTML transformation step via the
%define tool.xsltproc configuration, which is accepted without restriction and passed directly to the execvp() function. When the bison --html command is run on an attacker-provided grammar, it enables the execution of an arbitrary program with the privileges of the Bison process.Recommendations
Apply the fix implemented in commit 3169c1e7a2c6acc4c59dfcf8b089896d6881925b for version 3.8.2.
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bison