Bug 2496031 (CVE-2025-15646) - CVE-2025-15646 HTML-Gumbo: HTML::Gumbo: Information disclosure through HTML template processing
Summary: CVE-2025-15646 HTML-Gumbo: HTML::Gumbo: Information disclosure through HTML t...
Keywords:
Status: NEW
Alias: CVE-2025-15646
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2496536
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-01 16:03 UTC by OSIDB Bzimport
Modified: 2026-07-02 13:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-01 16:03:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.