CVE catalog

CVE-2026-56389

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

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.22% · Oct 25, 2026

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(). When running bison --html on a attacker-provided grammar, this behavior allows execution of an arbitrary program with the privileges of the Bison process. Maintainers 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbisonsid2:3.8.2+dfsg-1vulnerable
Debianbisonforky2:3.8.2+dfsg-1vulnerable
Debianbisontrixie2:3.8.2+dfsg-1vulnerable
Debianbisonbookworm2:3.8.2+dfsg-1vulnerable
CpebisonNot reportedNot reportedunknown
Ubuntubisonnoble2:3.8.2+dfsg-1ubuntu0.24.04.1fixed
Ubuntulibbison-devnoble2:3.8.2+dfsg-1ubuntu0.24.04.1fixed
Ubuntubison22.042:3.7.6+dfsg-1build1vulnerable
Ubuntubison22.042:3.8.2+dfsg-1vulnerable
Ubuntubison22.042:3.8.2+dfsg-1build1vulnerable
Ubuntubison22.042:3.8.2+dfsg-1ubuntu0.22.04.1fixed
Ubuntubison24.042:3.8.2+dfsg-1build1vulnerable
Ubuntubison24.042:3.8.2+dfsg-1build2vulnerable
Ubuntubison24.042:3.8.2+dfsg-1ubuntu0.24.04.1fixed
Ubuntubison26.042:3.8.2+dfsg-1build3vulnerable
Ubuntubison26.042:3.8.2+dfsg-1build4vulnerable
Ubuntubison26.042:3.8.2+dfsg-1ubuntu0.26.04.1fixed
Ubuntubison22.042:3.7.6+dfsg-1build1vulnerable
Ubuntubison22.042:3.8.2+dfsg-1vulnerable
Ubuntubison22.042:3.8.2+dfsg-1build1vulnerable
Ubuntubison22.042:3.8.2+dfsg-1ubuntu0.22.04.1fixed
Ubuntubison24.042:3.8.2+dfsg-1build1vulnerable
Ubuntubison24.042:3.8.2+dfsg-1build2vulnerable
Ubuntubison24.042:3.8.2+dfsg-1ubuntu0.24.04.1fixed
Ubuntubison26.042:3.8.2+dfsg-1build3vulnerable
Ubuntubison26.042:3.8.2+dfsg-1build4vulnerable
Ubuntubison26.042:3.8.2+dfsg-1ubuntu0.26.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbisonsourcesid(unfixed)not yet assignedNot reported[1143158]
Debianbisonsourceforky(unfixed)not yet assignedNot reported[1143158]
Debianbisonsourcetrixie(unfixed)not yet assignedNot reported[1143158]
Debianbisonsourcebookworm(unfixed)not yet assignedNot reported[1143158]
Ubuntubisondebnoble2:3.8.2+dfsg-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibbison-devdebnoble2:3.8.2+dfsg-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntubisondeb22.042:3.8.2+dfsg-1ubuntu0.22.04.1Not reportedUSN-8777-1Not reported
Ubuntubisondeb24.042:3.8.2+dfsg-1ubuntu0.24.04.1Not reportedUSN-8777-1Not reported
Ubuntubisondeb26.042:3.8.2+dfsg-1ubuntu0.26.04.1Not reportedUSN-8777-1Not reported
Ubuntubisondeb22.042:3.8.2+dfsg-1ubuntu0.22.04.1Not reportedUBUNTU-CVE-2026-56389Not reported
Ubuntubisondeb24.042:3.8.2+dfsg-1ubuntu0.24.04.1Not reportedUBUNTU-CVE-2026-56389Not reported
Ubuntubisondeb26.042:3.8.2+dfsg-1ubuntu0.26.04.1Not reportedUBUNTU-CVE-2026-56389Not reported

[Debian bug #1143158]

Notes

[trixie] bison: Minor issue [bookworm] bison: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bison]Affected

    Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b1 · amd64 · bookworm

      Affected

      nvd · bison · debian · bookworm; nvd · bison · debian · 12

    • 2:3.8.2+dfsg-1+b1 · arm64 · bookworm

      Affected

      nvd · bison · debian · bookworm; nvd · bison · debian · 12

  • [libbison-dev]Affected

    Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b1 · amd64 · bookworm

      Affected

      nvd · bison · debian · bookworm; nvd · bison · debian · 12

    • 2:3.8.2+dfsg-1+b1 · arm64 · bookworm

      Affected

      nvd · bison · debian · bookworm; nvd · bison · debian · 12

[Debian 13 (Trixie)]

  • [bison]Affected

    Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b2 · amd64 · trixie

      Affected

      nvd · bison · debian · 13

    • 2:3.8.2+dfsg-1+b2 · arm64 · trixie

      Affected

      nvd · bison · debian · 13

  • [libbison-dev]Affected

    Source package: [bison]

    Details (2)
    • 2:3.8.2+dfsg-1+b2 · amd64 · trixie

      Affected

      nvd · bison · debian · 13

    • 2:3.8.2+dfsg-1+b2 · arm64 · trixie

      Affected

      nvd · bison · debian · 13

Observed:

References