CVE-2025-15646
Last modified
CVE-2025-15646 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.66% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| BPS | HTML::Gumbo | < 0.19 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-15646?
How severe is CVE-2025-15646?
How do I fix CVE-2025-15646?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-15636Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-15638Net::Dropbear versions before 0.14 for Perl contains a vulne…10
- CVE-2025-1564The SetSail Membership plugin for WordPress is vulnerable to…9.8
- CVE-2025-15641Netskope was notified about a potential gap in its Netskope …6.8
- CVE-2025-15642Netskope is notified about a potential gap in its Netskoped …6.8
- CVE-2025-15645Ledger Nano X, Flex, and Stax devices contain a denial of se…5.1
- CVE-2025-15649IO::Uncompress::Unzip versions before 2.215 for Perl propaga…5.5
- CVE-2025-1565The Mayosis Core plugin for WordPress is vulnerable to Arbit…7.5
- CVE-2025-15653Dräger Zeus Infinity Empowered (Zeus IE) and Zeus RS C500 an…7
- CVE-2025-15654Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-15655Improper Neutralization of Special Elements used in an SQL C…7.6
- CVE-2025-15656Incorrect Privilege Assignment vulnerability in Mojoomla Sch…8.8
Are you affected by CVE-2025-15646?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
