Feed
7.5HIGH

CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.5%
percentile 34%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 27 Oct 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.5% (+0) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5) · CVSS 7.5: at least medium

Immediate actions

Who should check

  • golang.org/x/net (Go) pkg:golang/golang.org/x/net

    • Affected< 0.62.0Fixed in0.62.0OSV (GO-2026-6860)
  • golang.org/x/net golang.org/x/net/html product:golangorgxnet/golangorgxnethtml

    • Affected< 0.62.0Affected range ends before0.62.0as published by CNA (CVE List)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
CISA-ADP
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-407
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
yes
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 27 Oct 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 18 min ago · osv 18 min ago · nvd 79 min ago · epss 18 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GO-2026-6860