CVE-2026-78661
golang.org/x/net/html: golang.org/x/net/html: Denial of Service via crafted HTML input
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-407
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | golang.org/x/net | <0.62.0 | 0.62.0 |
| Seal Go | golang.org/x/net | >=0.0.0-20210224082022-3d97a244fca7-sp0, <0.0.0-20210224082022-3d97a244fca7-sp3>=0.0.0-20220722155237-a158d28d115b-sp0, <0.0.0-20220722155237-a158d28d115b-sp999>=0.10.0-sp0, <0.10.0-sp999>=0.18.0-sp0, <0.18.0-sp999>=0.26.0-sp0, <0.26.0-sp999+23 more | 0.0.0-20210224082022-3d97a244fca7-sp30.0.0-20220722155237-a158d28d115b-sp9990.10.0-sp9990.18.0-sp9990.26.0-sp999 |
| Seal Go | sealsecurity.io/golang.org/x/net | >=0.0.0-20210224082022-3d97a244fca7-sp1, <0.0.0-20210224082022-3d97a244fca7-sp3>=0.0.0-20220722155237-a158d28d115b-sp1, <0.0.0-20220722155237-a158d28d115b-sp999>=0.10.0-sp1, <0.10.0-sp999>=0.18.0-sp1, <0.18.0-sp999>=0.26.0-sp1, <0.26.0-sp999+23 more | 0.0.0-20210224082022-3d97a244fca7-sp30.0.0-20220722155237-a158d28d115b-sp9990.10.0-sp9990.18.0-sp9990.26.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 268 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kube-vip-cloud-provider | 0:0.0.10-12.azl3 |
Red Hat 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | conmon +211 | investigating |
| 8 | openshift +20 | investigating |
| 8 (container-tools:rhel8) | buildah +14 | investigating |
| 9 | buildah +62 | investigating |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | docker +2 | 25.0.18-1.amzn2023.0.3 |
| 2023 | skopeo +3 | 2:1.22.2-1.amzn2023.0.4 |
| 2023 | buildah +2 | 2:1.43.1-1.amzn2023.0.4 |
| 2023 | amazon-ssm-agent | 3.3.5828.0-1.amzn2023 |
chainguard 1 release · 168 packages
| Release | Package | Fixed in |
|---|---|---|
| acm-controller +2325 | not affected | |
| reports-server | 0.1.7-r22 | |
| mod-fips | 0.10.0-r4 | |
| mod | 0.10.0-r5 | |
| step-issuer-fips | 0.12.0-r20 | |
| step-issuer | 0.12.0-r21 |
162 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-golang-x-net | affected |
| 12 | golang-golang-x-net | affected |
| 13 | golang-golang-x-net | affected |
| 14 | golang-golang-x-net | 1:0.62.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-golang-x-net | affected |
minimos 1 release · 13 packages
| Release | Package | Fixed in |
|---|---|---|
| cert-manager-google-cas-issuer +1 | 0.14.0-r0 | |
| buildpacks-lifecycle-0-21 +1 | 0.21.28-r0 | |
| aws-otel-collector +1 | 0.51.0-r0 | |
| apache-exporter +1 | 1.1.3-r0 | |
| dapr-daprd-1-17 +11 | 1.17.19-r0 | |
| dapr-daprd-1-18 +11 | 1.18.10-r0 |
7 more rows
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | amazon-cloudwatch-agent | 1.300074.0-1.1 | openSUSE-SU-2026:12425-1 |
| Tumbleweed | google-osconfig-agent | 20261103.02-1.1 | openSUSE-SU-2026:12430-1 |
wolfi 1 release · 71 packages
| Release | Package | Fixed in |
|---|---|---|
| act +505 | not affected | |
| step-issuer | 0.12.0-r21 | |
| opentelemetry-collector | 0.164.0-r1 | |
| hugo +1 | 0.169.0-r1 | |
| kine | 0.17.3-r1 | |
| fq | 0.18.0-r6 |
65 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-78661
- go.dev https://go.dev/cl/849365
- go.dev https://go.dev/issue/82224
- groups.google.com https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-78661
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-6860
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-78661
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.