The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-58190

CVE-2025-58190: Golang x/net/html DoS Vulnerability

CVE-2025-58190 is a denial of service flaw in golang.org/x/net/html caused by an infinite parsing loop. Attackers can exploit this with crafted HTML to disrupt service. This article covers technical details, impact, and mitigation.

Published: February 6, 2026

CVE-2025-58190 Overview

The html.Parse function in the golang.org/x/net/html package contains an infinite parsing loop vulnerability that can be exploited by providing specially crafted HTML content. When processing certain malicious inputs, the parser enters an unrecoverable infinite loop state, causing the application to hang indefinitely and leading to denial of service (DoS) conditions.

Critical Impact

Applications using the Go net/html package for HTML parsing are vulnerable to denial of service attacks when processing untrusted HTML content, potentially causing service outages and resource exhaustion.

Affected Products

  • golang.org/x/net/html package (vulnerable versions)
  • Go applications utilizing the html.Parse function for HTML processing
  • Web crawlers, scrapers, and content processors built with Go

Discovery Timeline

  • 2026-02-05 - CVE CVE-2025-58190 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2025-58190

Vulnerability Analysis

This vulnerability is classified as an Algorithmic Complexity Attack within the Denial of Service category. The html.Parse function in Go's extended networking library fails to properly handle certain malformed or malicious HTML structures, causing the parsing algorithm to enter an infinite loop state.

The vulnerability exists in the HTML tokenization and tree construction phases of the parser. When specific sequences of malformed HTML elements are encountered, the parser's state machine fails to advance properly, resulting in continuous processing of the same input without termination. This behavior consumes CPU resources indefinitely without producing output or throwing an error.

Applications that accept untrusted HTML content—such as web scrapers, email processors, content management systems, or any service that sanitizes or transforms HTML—are particularly at risk. An attacker can craft malicious HTML payloads designed to trigger the infinite loop condition, effectively causing the target application to become unresponsive.

Root Cause

The root cause lies in the HTML parsing state machine implementation within golang.org/x/net/html. Certain edge cases in the input handling logic create conditions where the parser fails to make forward progress through the input stream. The parsing loop continues indefinitely because the termination conditions are never satisfied when processing the specific malformed input patterns.

Attack Vector

An attacker can exploit this vulnerability by submitting specially crafted HTML content to any application that uses the vulnerable html.Parse function. The attack requires no authentication and can be delivered through any input vector that eventually gets processed by the HTML parser.

The malicious HTML content triggers the infinite loop during parsing, causing the goroutine handling the request to hang indefinitely. In server applications, repeated exploitation can exhaust the available goroutine pool or other system resources, leading to complete service unavailability.

For detailed technical information about the vulnerability mechanism, refer to the Go Vulnerability Advisory GO-2026-4441 and the associated code review.

Detection Methods for CVE-2025-58190

Indicators of Compromise

  • Goroutines stuck in html.Parse operations that never complete
  • Abnormally high CPU utilization by Go applications processing HTML content
  • HTTP requests with unusually crafted HTML payloads targeting parsing endpoints
  • Application timeout errors or unresponsive services following HTML content submission

Detection Strategies

  • Monitor goroutine counts and CPU usage in Go applications that process HTML content
  • Implement request timeout monitoring for HTML parsing operations
  • Review application logs for parsing operations that exceed expected duration thresholds
  • Deploy SentinelOne Singularity XDR to detect resource exhaustion patterns indicative of DoS attacks

Monitoring Recommendations

  • Establish baseline metrics for HTML parsing operation duration and monitor for anomalies
  • Configure alerting for goroutine count spikes in applications using golang.org/x/net/html
  • Implement distributed tracing to identify parsing operations that fail to complete
  • Monitor system resource utilization (CPU, memory) for Go services handling untrusted HTML

How to Mitigate CVE-2025-58190

Immediate Actions Required

  • Update the golang.org/x/net/html package to the latest patched version immediately
  • Audit applications to identify all usage of the html.Parse function with untrusted input
  • Implement parsing timeouts using Go's context package with deadline or cancellation support
  • Consider input validation or size limits on HTML content before parsing

Patch Information

The Go team has addressed this vulnerability through a code fix. Review the Go Code Review CL 709875 for patch details. Update your dependencies by running go get -u golang.org/x/net/html and rebuilding affected applications.

For official announcements and update instructions, refer to the GoLang Announce Post.

Workarounds

  • Wrap all html.Parse calls with context timeouts to prevent indefinite hangs
  • Implement input size limits to restrict the maximum HTML content size processed
  • Run HTML parsing operations in isolated goroutines with proper timeout and cancellation handling
  • Consider alternative HTML parsing libraries if immediate patching is not feasible
bash
# Update golang.org/x/net to latest patched version
go get -u golang.org/x/net/html@latest

# Verify the installed version
go list -m golang.org/x/net

# Rebuild affected applications
go build -o myapp ./...

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGolang

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • GitHub Issue #4441

  • Go Code Review CL 709875

  • GoLang Announce Post

  • Go Vulnerability Advisory GO-2026-4441
  • Related CVEs
  • CVE-2025-47911: Go html.Parse DoS Vulnerability

  • CVE-2025-58187: Golang Go DOS Vulnerability

  • CVE-2025-58188: Golang Go DOS Vulnerability

  • CVE-2025-61723: Golang Go DOS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English