# CVE-2026-56390: Arbitrary Output Location Change in GNU Bison

- Priority: **Routine**
- Reason: Not severe (CVSS 4.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-29 · Modified: 2026-07-29
- Aliases: UBUNTU-CVE-2026-56390, DEBIAN-CVE-2026-56390
- Record: https://cvemate.com/vulnerability/CVE-2026-56390 · JSON: https://cvemate.com/vulnerability/CVE-2026-56390/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
- EPSS: 0.125%, percentile 2.338%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian bison (Debian): All versions (No fix recorded)
- ubuntu bison (Ubuntu): All versions (No fix recorded)
- gnu bison: 3.8.2

## References

- <https://cert.pl/en/posts/2026/07/CVE-2026-56389>
- <https://cgit.git.savannah.gnu.org/cgit/bison.git/>
- <https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0>
- <https://ubuntu.com/security/CVE-2026-56390>
- <https://www.cve.org/CVERecord?id=CVE-2026-56390>
- <https://cert.pl/en/posts/2026/07/CVE-2026-56389/>
- <https://security-tracker.debian.org/tracker/CVE-2026-56390>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56390>

---

Data as of 2026-12-05T03:21:11.871Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
