{"id":"DEBIAN-CVE-2025-15646","details":"HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion.  Support for the \u003ctemplate\u003e 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 =\u003e 'string', or with format =\u003e 'tree', on input containing a \u003ctemplate\u003e element serializes the over-read bytes into the returned result, disclosing bounded heap contents. format =\u003e 'callback' reaches a croak on the unhandled node type and is unaffected.","modified":"2026-09-01T20:05:41.651442754Z","published":"2026-07-01T16:16:29.657Z","upstream":["CVE-2025-15646"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-15646"}],"affected":[{"package":{"name":"libhtml-gumbo-perl","ecosystem":"Debian:12","purl":"pkg:deb/debian/libhtml-gumbo-perl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18-3+deb12u1"}]}],"versions":["0.18-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15646.json"}},{"package":{"name":"libhtml-gumbo-perl","ecosystem":"Debian:13","purl":"pkg:deb/debian/libhtml-gumbo-perl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18-5"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15646.json"}},{"package":{"name":"libhtml-gumbo-perl","ecosystem":"Debian:14","purl":"pkg:deb/debian/libhtml-gumbo-perl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18-5"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15646.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}