Medium severity · published Feb 5, 2026
CVE-2025-58190
Infinite parsing loop in golang.org/x/net
5.3
CVSS
0.5%
EPSS
No
On KEV
Description
The html.Parse function in golang.org/x/net/html has an infinite parsing loop when processing certain inputs, which can lead to denial of service (DoS) if an attacker provides specially crafted HTML content.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
golang.org/x/net/html · golang.org/x/net
before 0.45.0 · source: vendor
HT
Html · GO
before 0.45.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-58190
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-58190
Exploit
https://github.com/golang/vulndb/issues/4441
Patch
https://go.dev/cl/709875
Mailing List
https://groups.google.com/g/golang-announce/c/jnQcOYpiR2c
Vendor Advisory
https://pkg.go.dev/vuln/GO-2026-4441
More from golang.org/x/net/html
6.5
CVE-2026-25680
Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
6.1
CVE-2026-27136
Invoking duplicate attributes can cause XSS in golang.org/x/net/html
6.1
CVE-2026-25681
Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
6.1
CVE-2026-42502
Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
6.1
CVE-2026-42506
Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
