CVE-2026-56390: CWE-73 External Control of File Name or Path in GNU Bison
GNU Bison improperly handles grammar‑defined output paths. Grammar directives such as %output and %header allow specifying file paths, which are accepted without restriction and override caller‑supplied output options. When processing attacker-supplied grammar, this behavior allows directing generated files to arbitrary writable locations on the filesystem, potentially overwriting existing files accessible to the Bison process. Maintainers of this project were notified about this vulnerability, and fixed the issue in commit 8d101c19d4d9aaedf83a448c925513742d4efcf0. 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.
AI Analysis
Technical Summary
GNU Bison contains a CWE-73 vulnerability where grammar directives such as %output and %header accept file paths without restriction, overriding caller-supplied output options. When processing attacker-controlled grammar files, this can lead to writing generated files to arbitrary writable filesystem locations, potentially overwriting files accessible to the Bison process. The maintainers addressed this issue in a specific commit (8d101c19d4d9aaedf83a448c925513742d4efcf0). Version 3.8.2 is confirmed vulnerable; other versions have not been tested but may also be affected. No official remediation level or patch release version is specified.
Potential Impact
An attacker who can supply malicious grammar files to GNU Bison can cause the tool to write generated output files to arbitrary writable locations on the filesystem. This may lead to overwriting existing files accessible by the Bison process, potentially causing data loss or unauthorized modification of files. The vulnerability requires local access (AV:L) and user interaction (UI:A), with low privileges (PR:N) and no authentication required (AT:N). The overall impact is rated medium with a CVSS 4.6.
Mitigation Recommendations
The maintainers have fixed the vulnerability in commit 8d101c19d4d9aaedf83a448c925513742d4efcf0. However, no official patch release version or remediation level has been provided. Users should update to the version containing this fix once it is officially released or apply the fix manually from the commit. Until then, avoid processing untrusted grammar files with vulnerable versions such as 3.8.2 to mitigate risk. Patch status is not yet confirmed in an official release — check the vendor advisory or project repository for current remediation guidance.
CVE-2026-56390: CWE-73 External Control of File Name or Path in GNU Bison
Description
GNU Bison improperly handles grammar‑defined output paths. Grammar directives such as %output and %header allow specifying file paths, which are accepted without restriction and override caller‑supplied output options. When processing attacker-supplied grammar, this behavior allows directing generated files to arbitrary writable locations on the filesystem, potentially overwriting existing files accessible to the Bison process. Maintainers of this project were notified about this vulnerability, and fixed the issue in commit 8d101c19d4d9aaedf83a448c925513742d4efcf0. 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.
CVSS v4.0
Score 4.6medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
GNU Bison contains a CWE-73 vulnerability where grammar directives such as %output and %header accept file paths without restriction, overriding caller-supplied output options. When processing attacker-controlled grammar files, this can lead to writing generated files to arbitrary writable filesystem locations, potentially overwriting files accessible to the Bison process. The maintainers addressed this issue in a specific commit (8d101c19d4d9aaedf83a448c925513742d4efcf0). Version 3.8.2 is confirmed vulnerable; other versions have not been tested but may also be affected. No official remediation level or patch release version is specified.
Potential Impact
An attacker who can supply malicious grammar files to GNU Bison can cause the tool to write generated output files to arbitrary writable locations on the filesystem. This may lead to overwriting existing files accessible by the Bison process, potentially causing data loss or unauthorized modification of files. The vulnerability requires local access (AV:L) and user interaction (UI:A), with low privileges (PR:N) and no authentication required (AT:N). The overall impact is rated medium with a CVSS 4.6.
Mitigation Recommendations
The maintainers have fixed the vulnerability in commit 8d101c19d4d9aaedf83a448c925513742d4efcf0. However, no official patch release version or remediation level has been provided. Users should update to the version containing this fix once it is officially released or apply the fix manually from the commit. Until then, avoid processing untrusted grammar files with vulnerable versions such as 3.8.2 to mitigate risk. Patch status is not yet confirmed in an official release — check the vendor advisory or project repository for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CERT-PL
- Date Reserved
- 2026-06-21T07:15:13.879Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a69d4879c2644c7f856ba83
Added to database: 07/29/2026, 10:23:03 UTC
Last enriched: 07/29/2026, 10:39:03 UTC
Last updated: 09/10/2026, 19:36:54 UTC
Views: 54
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.