CVE-2026-56390
CVE-2026-56390 is a medium-severity vulnerability in Gnu Bison with a CVSS 3.x base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-73.
Key facts
- Severity: Medium (CVSS 3.x base score 6.3)
- CVSS v4: 4.6
- EPSS exploit prediction: 0% (2nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-73
- Affected product: Gnu Bison
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-56390?
- 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.
- How severe is CVE-2026-56390?
- CVE-2026-56390 has a CVSS 3.x base score of 6.3, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2026-56390 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (2nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-56390?
- CVE-2026-56390 affects Gnu Bison. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-56390?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2026-56390 published?
- CVE-2026-56390 was published on 2026-07-29 and last updated on 2026-10-23.
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
Affected products (1)
- cpe:2.3:a:gnu:bison:3.8.2:*:*:*:*:*:*:*
More vulnerabilities in Gnu Bison
- CVE-2026-56389 — High (CVSS 8.6): GNU Bison allows for an execution of an arbitrary program during HTML report generation due to improper handling of…
- CVE-2020-24240 — Medium (CVSS 5.5): GNU Bison before 3.7.1 has a use-after-free in _obstack_free in lib/obstack.c (called from gram_lex) when a '\0' byte…
- CVE-2020-14150 — Medium (CVSS 5.5): GNU Bison before 3.5.4 allows attackers to cause a denial of service (application crash). NOTE: there is a risk only if…
All CVEs affecting Gnu Bison →
Other CWE-73 vulnerabilities
- CVE-2026-124822 — Critical (CVSS 10.0): The Easy DragDrop File Uploader WordPress plugin before 1.1.10 does not validate a user-supplied path before deleting…
- CVE-2026-107594 — Critical (CVSS 10.0): The File Upload to Order WordPress plugin before 1.1.4 does not validate or confine a file path taken from…
- CVE-2026-101148 — Critical (CVSS 10.0): The BackupSheep WordPress Backup Plugin WordPress plugin through 1.8 does not properly validate its integration key,…
- CVE-2026-20358 — Critical (CVSS 10.0): As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Crosswork engineering team…
- CVE-2026-50148 — Critical (CVSS 10.0): Metabase is an open-source business intelligence and embedded analytics tool. From 1.54.0 until 1.54.24, 1.55.24,…
- CVE-2025-71338 — Critical (CVSS 10.0): Flowise through 2.2.7 fails to sanitize path segments in the document-store loader endpoint, allowing unauthenticated…