CVE-2025-58190
Unknown Unknown - Not Provided

Infinite Loop DoS in golang.org/x/net/html Parse Function

Vulnerability report for CVE-2025-58190, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-05

Last updated on: 2026-02-18

Assigner: Go Project

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-05
Last Modified
2026-02-18
Generated
2026-07-06
AI Q&A
2026-02-05
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
go html to 0.45.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Compliance Impact

I don't know

Detection Guidance

I don't know

Executive Summary

The vulnerability CVE-2025-58190 affects the html.Parse function in the golang.org/x/net/html package. When processing certain specially crafted HTML inputs, the function can enter an infinite parsing loop.

This infinite loop occurs because the parser does not handle some inputs correctly, causing it to never complete parsing.

Impact Analysis

An attacker can exploit this vulnerability by providing specially crafted HTML content that triggers the infinite parsing loop.

This leads to a denial of service (DoS) condition, where the application using the vulnerable html.Parse function becomes unresponsive or consumes excessive resources.

Mitigation Strategies

To mitigate the vulnerability in the golang.org/x/net/html package causing an infinite parsing loop, you should upgrade the package to version v0.45.0 or later where the issue is fixed.

Avoid processing untrusted or specially crafted HTML inputs with vulnerable versions of the package until the upgrade is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-58190. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart