CVE-2026-78661
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.
How to fix
- golang.org/x/net0.62.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang.org/x/netGo | v < 0.62.0 | 0.62.0 |
| microsoft azl3_cert-manager_1.12.15-15 | No range specified | — |
| microsoft azl3_cf-cli_8.7.11-10 | No range specified | — |
| microsoft azl3_cloud-provider-kubevirt_0.5.1-10 | No range specified | — |
| microsoft azl3_cri-tools_1.32.0-10 | No range specified | — |
| microsoft azl3_docker-buildx_0.14.0-19 | No range specified | — |
| microsoft azl3_docker-compose_2.27.0-16 | No range specified | — |
| microsoft azl3_gh_2.102.0-2 | No range specified | — |
| microsoft azl3_influxdb_2.7.5-22 | No range specified | — |
| microsoft azl3_kube-vip-cloud-provider_0.0.10-11 | No range specified | — |
| microsoft azl3_kubevirt_1.8.4-4 | No range specified | — |
| microsoft azl3_packer_1.9.5-23 | No range specified | — |
| microsoft azl3_sriov-network-device-plugin_3.7.0-9 | No range specified | — |
| microsoft azl3_telegraf_1.31.0-35 | No range specified | — |
| microsoft azl3_application-gateway-kubernetes-ingress_1.7.7-6 | No range specified | — |
| microsoft azl3_dasel_2.8.1-5 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.