
CVE catalog
CVE-2025-15646
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/Gumb
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.67% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libhtml-gumbo-perl | sid | 0.20-1 | fixed |
| Debian | libhtml-gumbo-perl | forky | 0.20-1 | fixed |
| Debian | libhtml-gumbo-perl | trixie | 0.18-5 | fixed |
| Debian | libhtml-gumbo-perl | bookworm | 0.18-3+deb12u1 | fixed |
| Ubuntu | libhtml-gumbo-perl | 18.04 | 0.17-1build1 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 20.04 | 0.18-2build1 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 20.04 | 0.18-2build2 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 22.04 | 0.18-2build3 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 22.04 | 0.18-2build4 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 24.04 | 0.18-3build1 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 24.04 | 0.18-3build2 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 24.04 | 0.18-3build3 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 24.04 | 0.18-3build4 | vulnerable |
| Ubuntu | libhtml-gumbo-perl | 24.04 | 0.18-3build5 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libhtml-gumbo-perl | source | sid | 0.18-5 | not yet assigned | Not reported | [1104789] |
| Debian | libhtml-gumbo-perl | source | forky | 0.18-5 | not yet assigned | Not reported | [1104789] |
| Debian | libhtml-gumbo-perl | source | trixie | 0.18-5 | not yet assigned | Not reported | [1104789] |
| Debian | libhtml-gumbo-perl | source | bookworm | 0.18-3+deb12u1 | not yet assigned | Not reported | [1104789] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libhtml-gumbo-perl]Fixed
Details (2)
0.18-3+deb12u1· amd64 · bookwormFixed · Fixed:
0.18-3+deb12u1nvd · libhtml-gumbo-perl · debian · bookworm; nvd · libhtml-gumbo-perl · debian · 12
0.18-3+deb12u1· arm64 · bookwormFixed · Fixed:
0.18-3+deb12u1nvd · libhtml-gumbo-perl · debian · bookworm; nvd · libhtml-gumbo-perl · debian · 12
[Debian 13 (Trixie)]
- [libhtml-gumbo-perl]Fixed
Details (2)
0.18-5· amd64 · trixieFixed · Fixed:
0.18-5nvd · libhtml-gumbo-perl · debian · 13
0.18-5· arm64 · trixieFixed · Fixed:
0.18-5nvd · libhtml-gumbo-perl · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2025-15646]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-15646]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-15646]
- [https://security-tracker.debian.org/tracker/CVE-2025-15646]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15646.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]