{"id":"CVE-2025-15646","published":"2026-07-01T14:38:03Z","modified":"2026-07-01T18:09:08Z","title":"HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion","vendor":"BPS","product":"HTML::Gumbo","tier":"tail","description":{"text":"HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion.\n\nSupport 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.\n\nAny 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00671,"percentile":0.52976,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/bestpractical/HTML-Gumbo/commit/15c0598909d4a64f47ef0a1abc5051f4e113c186.patch","tags":["patch"]},{"url":"https://metacpan.org/release/BPS/HTML-Gumbo-0.19/changes","tags":["release-notes"]},{"url":"https://bugs.debian.org/1104789","tags":["issue-tracking"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/01/7","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"bps","affectedVersions":[{"vendor":"BPS","product":"HTML::Gumbo","versions":["< 0.19"]}],"solutions":{"items":["Upgrade to HTML-Gumbo 0.19 or later, which adds GUMBO_NODE_TEMPLATE to the container node types handled by walk_tree."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-01T18:08:40.682429Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-210396","exploited":false,"provenance":"source"}}