CVEMETERBack to radar
OFFICIAL RECORD · Go

CVE-2026-78661

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.409% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T16:49:43.074Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T16:49:43.074ZUbuntu Security
epssverified2026-11-19T16:04:54.940ZFIRST EPSS
patchesverified2026-11-19T12:52:37.080ZOSV
affectedverified2026-11-19T12:59:10.167ZCVE Program
lifecycleverified2026-11-19T12:59:10.167ZCVE Program

Affected versions and configuration

golang.org/x/net golang.org/x/net/html; default status: unaffected: 0 to < 0.62.0 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "golang-1.23",
    "debian": "https://tracker.debian.org/pkg/golang-1.23",
    "source": "https://ubuntu.com/security/cve?package=golang-1.23",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
    "statuses": [
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "golang-1.22",
    "debian": "https://tracker.debian.org/pkg/golang-1.22",
    "source": "https://ubuntu.com/security/cve?package=golang-1.22",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
    "statuses": [
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/html",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.62.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/html",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "parser.addText"
        },
        {
          "name": "parser.fosterParent"
        },
        {
          "name": "parser.parse"
        },
        {
          "name": "Parse"
        },
        {
          "name": "ParseFragment"
        },
        {
          "name": "ParseFragmentWithOptions"
        },
        {
          "name": "ParseWithOptions"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.5,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-78661",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-11-04T16:40:03.476042Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-11-04T16:40:30.972Z"
      }
    }
  ]
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/html",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.62.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/html",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "parser.addText"
        },
        {
          "name": "parser.fosterParent"
        },
        {
          "name": "parser.parse"
        },
        {
          "name": "Parse"
        },
        {
          "name": "ParseFragment"
        },
        {
          "name": "ParseFragmentWithOptions"
        },
        {
          "name": "ParseWithOptions"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.5,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-78661",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-11-04T16:40:03.476042Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-11-04T16:40:30.972Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2026-6860",
  "aliases": [
    "CVE-2026-78661"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.62.0"
            }
          ]
        }
      ],
      "package": {
        "name": "golang.org/x/net",
        "purl": "pkg:golang/golang.org/x/net",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2026-6860.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "golang.org/x/net/html",
            "symbols": [
              "Parse",
              "ParseFragment",
              "ParseFragmentWithOptions",
              "ParseWithOptions",
              "parser.addText",
              "parser.fosterParent",
              "parser.parse"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/cl/849365",
      "type": "FIX"
    },
    {
      "url": "https://go.dev/issue/82224",
      "type": "REPORT"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2026-6860",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagegolang.org/x/netNot a distribution channel0.62.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history