llamaCVEVulnerability Intelligence
/
golang.org/x/net/html

CVE-2026-78661

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

UnclearParche disponibledenial of service
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición24 dDesde la divulgación, 27 oct 2026, 4:38 p. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v0.62.0
Monitoreo
Detectada +2
Verificada
27 oct 26
4 nov 26
16 nov 26
21 nov 26
27 oct 26
2 nov 26
8 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-78661 divulgada · CVSS 7.5 (CISA-ADP)
Remediación Parche v0.62.0 golang.org/x/net · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

The golang.org/x/net HTML parser, which Go programs use to parse HTML documents, is affected. Crafted HTML containing many short text fragments separated by ignored end tags can cause parsing time and memory use to grow quadratically, potentially slowing or exhausting resources on the system doing the parsing.

Affects golang.org/x/net/html before v0.62.0 when parsing input with many short text runs separated by ignored end tags. CVSS scores it High (7.5); no vendor rating is given. Fixed in v0.62.0.

¿Qué significa?Parsing HTML that contains many short text runs separated by ignored end tags makes the parser perform quadratic (O(n^2)) memory allocations and byte copies while joining text nodes. This consumes excessive CPU and memory.
¿Quién está afectado?Versions of golang.org/x/net/html before v0.62.0 are affected, and golang.org/x/net before v0.62.0 is listed as well. To check a version, run go list -m golang.org/x/net or look at the golang.org/x/net line in go.mod.
¿Qué hacer?Upgrade golang.org/x/net to v0.62.0 or later, which contains the fix. The advisory lists no workaround.
Descripción original del registro (Go)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
golang.org/x/net/html before v0.62.0“before v0.62.0”
02
Input contains many short text runs separated by ignored end tags“Inputs containing many short text runs separated by ignored end tags”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
golang.org/x/net/html · golang.org/x/net< 0.62.0
0.62.0
v0.62.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogolang.org/x/net
Corregida v0.62.0 0 d v0.62.0 no afectada
Versiones corregidas0.62.0v0.62.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://go.dev/cl/849365
Otrahttps://go.dev/issue/82224
Otrahttps://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs
Otrahttps://pkg.go.dev/vuln/GO-2026-6860

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.