What’s Vulnerable › Vulnerabilities
CVE-2025-58190: Infinite parsing loop in golang.org/x/net
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-05 · updated 2026-06-17
- Weakness: CWE-835
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.
Affected products
- Go Html: before 0.45.0 — fixed in 0.45.0
- Golang.Org/X/Net: before 0.45.0 — fixed in 0.45.0
How to fix
Upgrade to a fixed version: Go Html 0.45.0; Golang.Org/X/Net 0.45.0. Check the vendor advisory for mitigations.
References
- https://github.com/golang/vulndb/issues/4441
- https://go.dev/cl/709875
- https://groups.google.com/g/golang-announce/c/jnQcOYpiR2c
- https://pkg.go.dev/vuln/GO-2026-4441
Get alerted when CVE-2025-58190 or the next vulnerability affects your stack