CVE-2026-56390: Arbitrary Output File Write in GNU Bison
- Vendor
- GNU Project
CVE-2026-56390 is an external control of output paths vulnerability in GNU Bison. Grammar directives such as %output and %header accept unrestricted file paths and can override caller-supplied output options. Processing an attacker-supplied grammar can therefore redirect generated files to arbitrary filesystem locations writable by the Bison process, potentially overwriting existing files. GNU Bison 3.8.2 is confirmed vulnerable; the complete affected version range is unknown, and other versions may also be affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can compromise filesystem integrity by causing GNU Bison to create or overwrite files outside the intended output location. The affected files and extent of damage are constrained by the filesystem permissions of the Bison process. Direct code execution, confidentiality loss, and availability impact are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Avoid processing untrusted grammar files with vulnerable GNU Bison builds. If such processing is necessary, run Bison with least privilege in an isolated environment whose filesystem permissions permit writes only to a disposable output area. Caller-supplied output options alone are not an effective restriction because grammar directives can override them.
Remediation
Patch, then assume compromise.
Install a GNU Bison build containing upstream fix commit 8d101c19d4d9aaedf83a448c925513742d4efcf0, either through a distributor security update or by applying the upstream patch. A specific fixed upstream release and complete vulnerable version range are not identified.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-56390 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2026-56390 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-56390?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2026-56390.
- Is there a patch for CVE-2026-56390?
- Install a GNU Bison build containing upstream fix commit 8d101c19d4d9aaedf83a448c925513742d4efcf0, either through a distributor security update or by applying the upstream patch. A specific fixed upstream release and complete vulnerable version range are not identified.
- What products are affected by CVE-2026-56390?
- GNU Project Bison.
- How severe is CVE-2026-56390?
- CVE-2026-56390 has a CVSS v4 score of 4.6 (Medium) and an EPSS score of 0.13% (2nd percentile) as of Nov 14, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.