CVE-2025-15646 Affecting libhtml-gumbo-perl package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.51% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-LIBHTMLGUMBOPERL-17223243
  • published7 Jun 2026
  • disclosed1 Jul 2026

Introduced: 7 Jun 2026

CVE-2025-15646  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 libhtml-gumbo-perl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libhtml-gumbo-perl package and not the libhtml-gumbo-perl package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.