Files
vuln-cve/data/2026/78xxx/CVE-2026-78661.json
T

161 lines
6.2 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-78661",
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"state": "PUBLISHED",
"assignerShortName": "Go",
"dateReserved": "2026-08-24T23:36:15.738Z",
"datePublished": "2026-10-27T21:38:56.517Z",
"dateUpdated": "2026-11-04T16:40:30.972Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go",
"dateUpdated": "2026-10-27T21:38:56.517Z"
},
"title": "Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net",
"descriptions": [
{
"lang": "en",
"value": "When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (such as \"a</x>\") caused O(n^2) allocations and byte copies. Accumulate coalesced text in per-node byte slices during parsing and materialize Data strings once at the end of parse."
}
],
"affected": [
{
"vendor": "golang.org/x/net",
"product": "golang.org/x/net/html",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/net/html",
"versions": [
{
"version": "0",
"lessThan": "0.62.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "parser.addText"
},
{
"name": "parser.fosterParent"
},
{
"name": "parser.parse"
},
{
"name": "Parse"
},
{
"name": "ParseFragment"
},
{
"name": "ParseFragmentWithOptions"
},
{
"name": "ParseWithOptions"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-407: Inefficient Algorithmic Complexity"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/849365"
},
{
"url": "https://go.dev/issue/82224"
},
{
"url": "https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-6860"
}
],
"credits": [
{
"lang": "en",
"value": "Markus Magnuson"
}
]
},
"adp": [
{
"problemTypes": [
{
"descriptions": [
{
"type": "CWE",
"cweId": "CWE-407",
"lang": "en",
"description": "CWE-407 Inefficient Algorithmic Complexity"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-11-04T16:40:03.476042Z",
"id": "CVE-2026-78661",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-04T16:40:30.972Z"
}
}
]
}
}