CVE-2026-56390
published medium CVSS 4.0 · 4.6Arbitrary Output Location Change in GNU Bison
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNU | — | Bison3.8.2 · Other versions: unknown | Affected | Not stated | CERT-PL |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNU | Bison | 3.8.2 (affected · semver)Default: unknown | CERT-PL · cna |
Weaknesses
1- CWE-73 CWE-73 External Control of File Name or Path
References
3Provider assertions
2CERT-PL · cna
Arbitrary Output Location Change in GNU Bison
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa880e6b8b6f57bbe4d643c0da1c4a67b93d40a2ccca591a5274b6bad62172c5
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record