CVE-2026-78661

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGolang.org/x/net
PublishedOct 27, 2026
First seenOct 27, 2026
Weakness typeCWE-407CWE-407

How to fix

Update
  • golang.org/x/net0.62.0 or later

Affected products

ProductAffected versionsFixed in
golang.org/x/netGov < 0.62.00.62.0
microsoft azl3_cert-manager_1.12.15-15No range specified—
microsoft azl3_cf-cli_8.7.11-10No range specified—
microsoft azl3_cloud-provider-kubevirt_0.5.1-10No range specified—
microsoft azl3_cri-tools_1.32.0-10No range specified—
microsoft azl3_docker-buildx_0.14.0-19No range specified—
microsoft azl3_docker-compose_2.27.0-16No range specified—
microsoft azl3_gh_2.102.0-2No range specified—
microsoft azl3_influxdb_2.7.5-22No range specified—
microsoft azl3_kube-vip-cloud-provider_0.0.10-11No range specified—
microsoft azl3_kubevirt_1.8.4-4No range specified—
microsoft azl3_packer_1.9.5-23No range specified—
microsoft azl3_sriov-network-device-plugin_3.7.0-9No range specified—
microsoft azl3_telegraf_1.31.0-35No range specified—
microsoft azl3_application-gateway-kubernetes-ingress_1.7.7-6No range specified—
microsoft azl3_dasel_2.8.1-5No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.