CVE-2025-15646BPS HTML::Gumbo
Critical 9.8 No auth needed
Follow: this CVE · BPS · BPS HTML::Gumbo We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 47
- Auth required
- No
- Published
- Jul 1, 2026
- Updated
- Oct 6, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for HTML::Gumbo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- BPS · HTML::Gumbo
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.