ubuntu-cve-2025-15646
Vulnerability from osv_ubuntu
Published
2026-07-01 16:16
Modified
2026-07-09 15:10
Summary
Details
HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion. Support for the 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 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.
Severity
9.8 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libhtml-gumbo-perl",
"binary_version": "0.17-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/ubuntu/libhtml-gumbo-perl@0.17-1build1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libhtml-gumbo-perl",
"binary_version": "0.18-2build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/ubuntu/libhtml-gumbo-perl@0.18-2build2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.18-2build1",
"0.18-2build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libhtml-gumbo-perl",
"binary_version": "0.18-2build4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/ubuntu/libhtml-gumbo-perl@0.18-2build4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.18-2build3",
"0.18-2build4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libhtml-gumbo-perl",
"binary_version": "0.18-3build5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/ubuntu/libhtml-gumbo-perl@0.18-3build5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.18-3build1",
"0.18-3build2",
"0.18-3build3",
"0.18-3build4",
"0.18-3build5"
]
}
],
"aliases": [],
"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 \u0027string\u0027, or with format =\u003e \u0027tree\u0027, on input containing a \u003ctemplate\u003e element serializes the over-read bytes into the returned result, disclosing bounded heap contents. format =\u003e \u0027callback\u0027 reaches a croak on the unhandled node type and is unaffected.",
"id": "UBUNTU-CVE-2025-15646",
"modified": "2026-07-09T15:10:16Z",
"published": "2026-07-01T16:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-15646"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-15646"
},
{
"type": "REPORT",
"url": "https://github.com/ruz/HTML-Gumbo/issues/6"
},
{
"type": "REPORT",
"url": "https://github.com/bestpractical/html-gumbo/commit/15c0598909d4a64f47ef0a1abc5051f4e113c186"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-15646"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…