libhtml-gumbo-perl: HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion
CVE-2025-15646 is fixed in 4 products on 1 platform, first by DEBIAN-CVE-2025-15646, released June 24, 2026. It is not reported as exploited. Patch Radar priority: Urgent.
HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion. Support for the <template> element was added to libgumbo 0.10.0 in 2015, but the walk_tree function in lib/HTML/Gumbo.xs was not updated to support it. The element was treated as a text-node, where strlen() over-reads the heap block that the pointer addresses. Any caller that runs parse() with the default format => 'string', or with format => 'tree', on input containing a <template> element serializes the over-read bytes into the returned result, disclosing bounded heap contents. format => 'callback' reaches a croak on the unhandled node type and is unaffected.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libhtml-gumbo-perl · Debian 12.15 (bookworm) | 0.18-3+deb12u1 | DEBIAN-CVE-2025-15646 | Jun 24, 2026 |
| libhtml-gumbo-perl · Debian 13.5 (trixie) | 0.18-5 | DEBIAN-CVE-2025-15646 | Jun 24, 2026 |
| libhtml-gumbo-perl · Debian 14 | 0.18-5 | DEBIAN-CVE-2025-15646 | Jun 24, 2026 |
| perl-HTML-Gumbo · Fedora 43 | 0.19-1.fc43 | FEDORA-2026-A457BF78B4 | Jul 2, 2026 |
| perl-HTML-Gumbo-debuginfo · Fedora 43 | 0.19-1.fc43 | FEDORA-2026-A457BF78B4 | Jul 2, 2026 |
| perl-HTML-Gumbo-debugsource · Fedora 43 | 0.19-1.fc43 | FEDORA-2026-A457BF78B4 | Jul 2, 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.