libhtml-gumbo-perl — security advisory
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.
- Products
- libhtml-gumbo-perl
- Affected versions
- 0.18-3
- Fixed versions
- 0.18-3+deb12u1, 0.18-5
- CVEs
- CVE-2025-15646
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 03:40 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2025-15646
libhtml-gumbo-perl
Fixed versions: 0.18-3+deb12u1
libhtml-gumbo-perl
Fixed versions: 0.18-5
libhtml-gumbo-perl
Fixed versions: 0.18-5
Complete source record
{
"id": "fdf01a4b030085c280bd1c969e20164ae6df22cc69a70ec6513b7f52b44098e8",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-15646",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2025-15646",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2025-15646",
"products": [
{
"name": {
"value": "libhtml-gumbo-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.18-3+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "0.18-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libhtml-gumbo-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.18-5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libhtml-gumbo-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.18-5",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2025-15646",
"aliases": [
"DEBIAN-CVE-2025-15646"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.18-3+deb12u1"
}
]
}
],
"package": {
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/debian/libhtml-gumbo-perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.18-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15646.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.18-5"
}
]
}
],
"package": {
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/debian/libhtml-gumbo-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15646.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.18-5"
}
]
}
],
"package": {
"name": "libhtml-gumbo-perl",
"purl": "pkg:deb/debian/libhtml-gumbo-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-15646.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-07T09:47:28.165933826Z",
"provider": "osv",
"upstream": [
"CVE-2025-15646"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2025-15646"
]
},
"related_cves": [
{
"value": "CVE-2025-15646",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 94643,
"published_at": "2026-07-01T16:16:29.657+00:00"
}