CVE-2025-58190

NameCVE-2025-58190
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1127320

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-golang-x-net (PTS)bullseye1:0.0+git20210119.5f4716e+dfsg-4vulnerable
bookworm1:0.7.0+dfsg-1vulnerable
forky, sid, trixie1:0.27.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-golang-x-netsource(unstable)(unfixed)1127320

Notes

https://groups.google.com/g/golang-announce/c/jnQcOYpiR2c
https://github.com/golang/go/issues/70179
Fixed by: https://github.com/golang/net/commit/6ec8895aa5f6594da7356da7d341b98133629009 (v0.45.0)

Search for package or bug name: Reporting problems