HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities
CVE-2026-8829 is fixed in 5 products on 1 platform, first by libhtml-parser-perl 3.76-1ubuntu0.1, released June 3, 2026. It is not reported as exploited. Patch Radar priority: High.
HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities. The XS routine backing HTML::Entities::_decode_entities cached a pointer (repl) into the entity-value SV returned by hv_fetch on the entity2char hash. When the input SV was identical to a value SV in that hash, and that value contained its own key as an entity reference, a later call to grow_gap() reallocated the SV's PV buffer and freed the backing allocation that repl still pointed into. The subsequent copy loop read repl_len bytes from the freed allocation. The read may disclose adjacent heap contents into the destination SV.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libhtml-parser-perl · Debian 12.15 (bookworm) | 3.81-1+deb12u1 | DEBIAN-CVE-2026-8829 | Jun 24, 2026 |
| libhtml-parser-perl · Debian 13.5 (trixie) | 3.83-2~deb13u1 | DEBIAN-CVE-2026-8829 | Jun 24, 2026 |
| libhtml-parser-perl · Debian 14 | 3.83-2 | DEBIAN-CVE-2026-8829 | Jun 24, 2026 |
| libhtml-parser-perl · Ubuntu 22.04.1 LTS (jammy) | 3.76-1ubuntu0.1 | libhtml-parser-perl 3.76-1ubuntu0.1 | Jun 3, 2026 |
| libhtml-parser-perl · Ubuntu 24.04.5 LTS (noble) | 3.81-1ubuntu0.1 | libhtml-parser-perl 3.81-1ubuntu0.1 | Jun 3, 2026 |
| libhtml-parser-perl · Ubuntu 26.04.1 LTS (resolute) | 3.83-1ubuntu0.1 | libhtml-parser-perl 3.83-1ubuntu0.1 | Jun 3, 2026 |
| perl-HTML-Parser · amzn 2023 | 3.76-1.amzn2023.0.4 | ALAS2023-2026-1836 | Jun 22, 2026 |
| perl-HTML-Parser · opensuse-leap 16.0 | 3.830.0-160000.3.1 | OPENSUSE-SU-2026:21126-1 | Jun 20, 2026 |
| perl-HTML-Parser · sles 15.7 | 3.830.0-150000.3.6.1 | SUSE-SU-2026:2950-1 | Jul 14, 2026 |
| perl-HTML-Parser · sles 16.0 | 3.830.0-160000.3.1 | SUSE-SU-2026:22189-1 | Jun 20, 2026 |
| perl-HTML-Parser-debuginfo · amzn 2023 | 3.76-1.amzn2023.0.4 | ALAS2023-2026-1836 | Jun 22, 2026 |
| perl-HTML-Parser-debugsource · amzn 2023 | 3.76-1.amzn2023.0.4 | ALAS2023-2026-1836 | Jun 22, 2026 |
| perl-HTML-Parser-tests · amzn 2023 | 3.76-1.amzn2023.0.4 | ALAS2023-2026-1836 | Jun 22, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.