{"schemaVersion":3,"id":"CVE-2026-56389","aliases":["UBUNTU-CVE-2026-56389","USN-8777-1","DEBIAN-CVE-2026-56389"],"status":"published","duplicateOf":null,"title":null,"description":"GNU Bison allows for an execution of an arbitrary program during HTML report generation due to improper handling of grammar-defined configuration variables. A grammar file can override the executable used for the XML‑to‑HTML transformation step via %define tool.xsltproc, which is accepted without restriction and passed directly to execvp().\n\nWhen running bison --html on a attacker-provided grammar, this behavior allows execution of an arbitrary program with the privileges of the Bison process.\n\n\nMaintainers of this project were notified about this vulnerability, and fixed the issue in commit 3169c1e7a2c6acc4c59dfcf8b089896d6881925b. 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.","dates":{"published":"2026-07-29T09:39:52.243Z","modified":"2026-07-29T12:21:04.442Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:L/SI:L/SA:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:L/SI:L/SA:L","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.6,"impact":10,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00224,"percentile":0.12204,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.06599999999999998,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00158},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00224,"percentile":0.12204}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00224,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00224,"percentile":0.12204}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"debian","product":"bison","name":"bison","label":"bison","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bison","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bison","name":"bison","label":"bison","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bison","purlType":"deb","versions":[{"text":"< 2:3.8.2+dfsg-1ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.8.2+dfsg-1ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.8.2+dfsg-1ubuntu0.26.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:3.8.2+dfsg-1ubuntu0.22.04.1 | < 2:3.8.2+dfsg-1ubuntu0.24.04.1 | < 2:3.8.2+dfsg-1ubuntu0.26.04.1","eol":null,"hubHref":null},{"vendor":"gnu","product":"bison","name":"bison","label":"bison","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.8.2","eol":null,"hubHref":"/vendor/gnu/bison"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56389","label":"cert.pl/en/posts/2026/07/CVE-2026-56389","hostname":"cert.pl","tags":["Third Party Advisory","REPORT"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/bison.git/","label":"cgit.git.savannah.gnu.org/cgit/bison.git/","hostname":"cgit.git.savannah.gnu.org","tags":["Product","REPORT"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=3169c1e7a2c6acc4c59dfcf8b089896d6881925b","label":"cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=3169c1e7a2c6acc4c59dfcf8b089896d6881925b","hostname":"cgit.git.savannah.gnu.org","tags":["Patch","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-56389","label":"ubuntu.com/security/CVE-2026-56389","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56389","label":"www.cve.org/CVERecord?id=CVE-2026-56389","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8777-1","label":"ubuntu.com/security/notices/USN-8777-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-56389","label":"security-tracker.debian.org/tracker/CVE-2026-56389","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56389","label":"nvd.nist.gov/vuln/detail/CVE-2026-56389","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-29T09:39:52.243Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-29T12:21:04.442Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:24:52.744Z","stale":false,"partial":false}}