CVE-2026-78661
Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
No exploitation reported by the sources we read.
- Published2026-10-27
- Fixed in0.62.0
- WeaknessCWE-407
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-10-2721:38CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.62 | < 0.62.0 | 0.62.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As Go, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- golang.org/x/net/htmlother versions: not affectedAffected
- < 0.62.0fixed in 0.62.0semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-10-27
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- aws-efs-csi-driverMinimOSall versions · fixed in 3.5.4-r0and 1 other package
- aws-otel-collectorMinimOSall versions · fixed in 0.51.0-r0and 1 other package
- cert-manager-1.20Wolfiall versions · fixed in 1.20.5-r0and 4 other packages
- cert-manager-1.20Chainguardall versions · fixed in 1.20.5-r0and 4 other packages
- cert-manager-fips-1.20MinimOSall versions · fixed in 1.20.5-r0and 5 other packages
- cilium-1.19Wolfiall versions · fixed in 1.19.10-r1
- cilium-1.19Chainguardall versions · fixed in 1.19.10-r1
- cloudnative-pgMinimOSall versions · no fixed version listedand 208 other packages
98 more package ranges on OSV.dev
Fix
- Update golang.org/x/net to 0.62.0
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-04
- CISA-ADPSSVC decisionnone2026-11-04
- CISA-ADPCVSS 3.17.52026-11-04
- CISA-ADPweakness (CWE)CWE-4072026-11-04
- FIRST EPSSEPSS score0.2 %2026-11-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-111670same flawAzure Linux · MIT
- AZL-111691same flawAzure Linux · MIT
- AZL-111721same flawAzure Linux · MIT
- AZL-111757same flawAzure Linux · MIT
- AZL-111802same flawAzure Linux · MIT
- AZL-111833same flawAzure Linux · MIT
- AZL-111839same flawAzure Linux · MIT
- AZL-111844same flawAzure Linux · MIT
- AZL-111854same flawAzure Linux · MIT
- AZL-111878same flawAzure Linux · MIT
- AZL-111893same flawAzure Linux · MIT
- AZL-111902same flawAzure Linux · MIT
- AZL-111914same flawAzure Linux · MIT
- AZL-111938same flawAzure Linux · MIT
- AZL-111947same flawAzure Linux · MIT
- AZL-111980same flawAzure Linux · MIT
- AZL-112004same flawAzure Linux · MIT
- AZL-112019same flawAzure Linux · MIT
- AZL-112031same flawAzure Linux · MIT
- AZL-112040same flawAzure Linux · MIT
- AZL-112058same flawAzure Linux · MIT
- AZL-112070same flawAzure Linux · MIT
- AZL-112088same flawAzure Linux · MIT
- AZL-112094same flawAzure Linux · MIT
- AZL-112115same flawAzure Linux · MIT
- AZL-112124same flawAzure Linux · MIT
- AZL-112238same flawAzure Linux · MIT
- AZL-112250same flawAzure Linux · MIT
- CGA-2225-f4wq-x4xwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-222p-gpfj-44qpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-222v-p68g-f3cvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-223m-pj35-j8x9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-224g-g9pc-ww2xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2254-p8p3-q634same flawChainguard · CC-BY-NC-ND-4.0
- CGA-225h-5wpf-pwj9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2262-3vwm-93mgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2263-3c87-4vmmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2274-g657-q4qvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2284-hp8c-gr4vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-228c-6rc3-9456same flawChainguard · CC-BY-NC-ND-4.0
- CGA-228h-3jm4-m8c3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2296-jq45-229xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-229q-52f9-jv2fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22cg-w9q5-v6f5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22cj-p589-ph7psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22g3-76c3-3fx2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22h3-6m5r-m78vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22hc-g8vp-gr3wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22hh-jm25-5j44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22hx-x2gw-h586same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2026-10-27
- Last Modified
- 2026-11-04
- NVD status
- Deferred
- GitHub Advisory
- GHSA-75pg-wvh3-34jr
Frequently asked questions
What is CVE-2026-78661?
Is CVE-2026-78661 actively exploited?
What is the CVSS score for CVE-2026-78661?
Running cert-manager? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-75pg-wvh3-34jr
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0