Skip to main content
VulnerabilityPublished Updated

CVE-2025-15646: Libhtml gumbo perl · HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion

Affects libhtml-gumbo-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-15646· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibhtml-gumbo-perlpkg:deb/ubuntu/libhtml-gumbo-perl?arch=source&distro=nobleOther threatsAffected
  • 0.18-3build1 – 0.18-3build5
5 affected builds
Fixed in–
Ubuntu 22.04 LTSlibhtml-gumbo-perlpkg:deb/ubuntu/libhtml-gumbo-perl?arch=source&distro=jammyOther threatsAffected
  • =0.18-2build3
  • =0.18-2build4
Fixed in–
Ubuntu 20.04 LTSlibhtml-gumbo-perlpkg:deb/ubuntu/libhtml-gumbo-perl?arch=source&distro=focalOther threatsAffected
  • =0.18-2build1
  • =0.18-2build2
Fixed in–
Ubuntu 18.04 LTSlibhtml-gumbo-perlpkg:deb/ubuntu/libhtml-gumbo-perl?arch=source&distro=bionicOther threatsAffected
  • =0.17-1build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…