Out-of-bounds read in BPS HTML::Gumbo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-843 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA HTML::Gumbo (BPS) Fixed in 0.19
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-15646
- 2026-10-03 Alias added: GHSA-754r-h5mg-r795
References
Sources
- CVE-2025-15646 · CVE Program
- CVE-2025-15646 · NVD
- FIRST EPSS
- GHSA-754r-h5mg-r795 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-15646 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences