Description
The ParseValue function in lexer.c in tidy before 4.9.31 allows remote attackers to cause a denial of service (crash) via vectors involving multiple whitespace characters before an empty href, which triggers a large memory allocation.
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 8 | tidy | 20091223cvs-1.4+deb8u1 | DSA-3309-1 |
| Debian 7 | tidy | 20091223cvs-1.2+deb7u1 | DSA-3309-1 |
| Debian 6.0 | tidy | 20091223cvs-1+deb6u1 | DLA-273-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | tidy | 20091223cvs-1.2ubuntu1.1 | USN-2695-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | tidy | 1.0.20100204cvs-25.3 | SUSE-SU-2015:1513-1 |
| SLES 11 SP4 | tidy | 1.0-37.1 | SUSE-SU-2015:1525-1 |
| SLES 11 SP3 | tidy | 1.0-37.1 | SUSE-SU-2015:1525-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tidy | 5.2.0-2.3 | openSUSE-SU-2024:10210-1 |
Advisories 6
- USN-2695-1 tidy vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3309-1 tidy - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-273-1 tidy - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:1513-1 Security update for tidy SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10210-1 libtidy-devel-5.2.0-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1525-1 Security update for tidy SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 1033703 vdb-entry
- [oss-security] 20150713 Re: CVE Request - tidy 0.99 / tidy5 heap-buffer-overflow mailing-list
- https://support.apple.com/HT205212
- APPLE-SA-2015-09-30-3 vendor-advisory
- [oss-security] 20150604 CVE Request - tidy 0.99 / tidy5 heap-buffer-overflow mailing-list
- USN-2695-1 vendor-advisory
- https://support.apple.com/HT205267
- DSA-3309 vendor-advisory
- APPLE-SA-2015-09-21-1 vendor-advisory
- https://github.com/htacg/tidy-html5/issues/217#issuecomment-108565501
- https://support.apple.com/HT205213
- 75037 vdb-entry
- APPLE-SA-2015-09-16-1 vendor-advisory
- [oss-security] 20150714 Re: CVE Request - tidy 0.99 / tidy5 heap-buffer-overflow mailing-list