Skip to main content
VulnerabilityPublished Updated

CVE-2026-56390: GNU Bison improperly handles grammar‑defined output paths

Affects bisonSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56390· Medium 4.6

Not known to be exploited · CVSS 4.6 Medium.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
4.6Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10bisonpkg:deb/ubuntu/bison?arch=source&distro=stonkingOther threatsAffected
  • =2:3.8.2+dfsg-1build4
  • =2:3.8.2+dfsg-1ubuntu1
Fixed in–
Ubuntu 26.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=resoluteOther threatsAffected
  • =2:3.8.2+dfsg-1build3
  • =2:3.8.2+dfsg-1build4
  • =2:3.8.2+dfsg-1ubuntu0.26.04.1
Fixed in–
Ubuntu 24.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=nobleOther threatsAffected
  • =2:3.8.2+dfsg-1build1
  • =2:3.8.2+dfsg-1build2
  • =2:3.8.2+dfsg-1ubuntu0.24.04.1
Fixed in–
Ubuntu 22.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=jammyOther threatsAffected
  • 2:3.7.6+dfsg-1build1 – 2:3.8.2+dfsg-1ubuntu0.22.04.1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=focalOther threatsAffected
  • =2:3.4.1+dfsg-4
  • =2:3.4.2+dfsg-1
  • =2:3.5.1+dfsg-1
Fixed in–
Ubuntu 18.04 LTSbisonpkg:deb/ubuntu/bison?arch=source&distro=bionicOther threatsAffected
  • =2:3.0.4.dfsg-1build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…