Loop with Unreachable Exit Condition ('Infinite Loop') Affecting golang-golang-x-net package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.48% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GOLANGGOLANGXNET-18291490
  • published24 Jul 2026
  • disclosed5 Feb 2026

Introduced: 5 Feb 2026

CVE-2025-58190  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest golang-golang-x-net.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-golang-x-net package and not the golang-golang-x-net package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1