# JLSEC-2026-1346: GNU Bison improperly handles grammar‑defined output paths. Grammar directives such as %output and...

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-19T13:25:39.310Z
- Modified: 2026-08-19T13:47:16.388Z
- Related: CVE-2026-56390, EUVD-2026-50277, GHSA-3pcj-vqw8-47jm

## 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.

(As written by Julia Security Advisories.)

## Affected

- Bison_jll (Julia): all versions

## References

- <https://cert.pl/en/posts/2026/07/CVE-2026-56389> (web)
- <https://cgit.git.savannah.gnu.org/cgit/bison.git> (web)
- <https://cgit.git.savannah.gnu.org/cgit/bison.git/> (web)
- <https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0> (web)
- <https://github.com/advisories/GHSA-3pcj-vqw8-47jm> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56390> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1346](https://osv.dev/vulnerability/JLSEC-2026-1346), CC-BY-4.0, modified 2026-08-19

---

Page: https://cve.day/JLSEC-2026-1346 · Whole record: https://cve.day/JLSEC-2026-1346.json · Rebuilt by cve.day 2026-11-25T22:56:25.947Z
