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 t…
Historical advisory saved 5 Nov 2026 13:46:00 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2026-111399
PublishedWhen 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Oct 27, 2026, 9:38:56 PM
dateUpdated: Nov 4, 2026, 4:40:30 PM
1 related source bulletins · separate from aliases
msrc_CVE-2026-78661: Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
CVE-2026-78661
- Source published
- Oct 27, 2026, 9:38:56 PM (timezone not stated)
- Source modified
- Nov 4, 2026, 4:40:30 PM (timezone not stated)
- Saved here
- 5 Nov 2026 13:46:00 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N