Advisory

UBUNTU-CVE-2026-56389

Also known as: CVE-2026-56389

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Dates

Published
2026-07-29 11:16 UTC
Modified
2026-09-17 19:51 UTC

Affected packages and fixes

bison

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:3.8.2+dfsg-1ubuntu0.22.04.1 (ecosystem)

Fixed versions

2:3.8.2+dfsg-1ubuntu0.22.04.1

Fix

  • Fixed version 2:3.8.2+dfsg-1ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bison

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2:3.8.2+dfsg-1ubuntu0.24.04.1 (ecosystem)

Fixed versions

2:3.8.2+dfsg-1ubuntu0.24.04.1

Fix

  • Fixed version 2:3.8.2+dfsg-1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bison

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2:3.8.2+dfsg-1ubuntu0.26.04.1 (ecosystem)

Fixed versions

2:3.8.2+dfsg-1ubuntu0.26.04.1

Fix

  • Fixed version 2:3.8.2+dfsg-1ubuntu0.26.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences