Skip to main content
EPSS 0.1%top 98%

CVE-2026-56390: CWE-73 External Control of File Name or Path in GNU Bison

0
Medium
Published: 08/07/2026 (08/07/2026, 00:30:33 UTC)
Source: CVE Database V5
Vendor/Project: GNU
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Affected software

Affected versions
3.8.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 10:39:03 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses