Description
An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitrary code via the -g option of the CleanNode() function in gdoc.c.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tidy-html5 | 2:5.8.0-2 | — |
| Debian 13 | tidy-html5 | 2:5.8.0-2 | — |
| Debian 12 | tidy-html5 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | tidy-html5 | 2:5.6.0-11ubuntu1 | — |
| Ubuntu 22.04 LTS | tidy-html5 | 2:5.6.0-11ubuntu0.22.04.1 | USN-6483-1 |
| Ubuntu 20.04 LTS | tidy-html5 | 2:5.6.0-11ubuntu0.20.04.1 | USN-6483-1 |
| Ubuntu 18.04 LTS | tidy-html5 | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | tidy | 5.8.0-6 | — |
| Azure Linux 2 (CBL-Mariner) | tidy | 5.8.0-6 | — |
Advisories 1
- USN-6483-1 tidy-html5 vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026