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-58187

CVE-2025-58187: Golang Go DOS Vulnerability

CVE-2025-58187 is a denial of service flaw in Golang Go caused by non-linear processing time in certificate validation. This post covers the technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2025-58187 Overview

CVE-2025-58187 is an Algorithmic Complexity Attack vulnerability affecting Golang Go's certificate validation implementation. Due to the design of the name constraint checking algorithm, the processing time of some inputs scales non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains, potentially enabling denial-of-service attacks against services that process untrusted certificates.

Critical Impact

Attackers can craft malicious certificates that cause excessive CPU consumption during validation, leading to denial of service in applications that process untrusted certificate chains.

Affected Products

  • Golang Go (multiple versions)

Discovery Timeline

  • 2025-10-29 - CVE CVE-2025-58187 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2025-58187

Vulnerability Analysis

This vulnerability (CWE-407: Inefficient Algorithmic Complexity) exists within the name constraint checking functionality of Go's X.509 certificate validation implementation. When processing certificates with specially crafted name constraints, the algorithm exhibits non-linear time complexity, meaning the processing time grows disproportionately as the input size increases. This algorithmic inefficiency can be weaponized by attackers to exhaust system resources.

The vulnerability is network-accessible and requires no authentication or user interaction to exploit. An attacker can submit malicious certificates to any service that validates certificate chains, causing the service to consume excessive CPU cycles during the validation process. The impact is limited to availability—there is no compromise of confidentiality or integrity.

Root Cause

The root cause lies in the design of the name constraint checking algorithm in Go's crypto/x509 package. Name constraints in X.509 certificates define permitted or excluded namespaces for subordinate certificates. The existing implementation processes these constraints using an algorithm with poor time complexity characteristics when handling certain input patterns. This allows adversarial inputs to trigger worst-case performance scenarios, resulting in resource exhaustion.

Attack Vector

The attack vector is network-based and can be exploited by any unauthenticated remote attacker. The attack targets applications that validate certificate chains from untrusted sources, which includes:

  • TLS servers accepting client certificates
  • Certificate transparency log processors
  • Certificate validation services and APIs
  • Any Go application using crypto/x509.Verify() with untrusted input

An attacker constructs a certificate chain containing name constraints designed to maximize processing time. When the target application attempts to validate this certificate chain, the inefficient algorithm causes the validation to consume excessive CPU time, degrading service performance or causing complete denial of service.

The vulnerability can be exploited by submitting a malicious certificate during TLS handshake, certificate upload, or any other certificate processing workflow. For detailed technical information, see the Go.dev Issue Tracker Update and the Golang Announce Discussion.

Detection Methods for CVE-2025-58187

Indicators of Compromise

  • Abnormally high CPU utilization in Go applications during certificate validation operations
  • Unusually long response times for TLS handshakes or certificate processing endpoints
  • Certificate chains containing excessive or deeply nested name constraints
  • Repeated certificate validation requests from single sources with unusual certificate structures

Detection Strategies

  • Monitor CPU consumption patterns for Go processes handling certificate validation
  • Implement rate limiting on endpoints accepting certificate submissions
  • Add timeouts to certificate validation operations to detect long-running validations
  • Log and alert on certificate chains with unusually large name constraint extensions

Monitoring Recommendations

  • Enable detailed logging for certificate validation failures and timeouts
  • Set up alerting for Go application CPU usage exceeding baseline thresholds
  • Monitor TLS handshake duration metrics for anomalies
  • Track certificate validation request rates per source IP

How to Mitigate CVE-2025-58187

Immediate Actions Required

  • Update Golang Go to the latest patched version immediately
  • Implement timeouts for certificate validation operations as a defense-in-depth measure
  • Review applications that process certificates from untrusted sources
  • Consider rate limiting certificate validation endpoints until patches are applied

Patch Information

Golang has released patches to address this vulnerability. The fix modifies the name constraint checking algorithm to ensure linear time complexity for all inputs. Administrators should apply the update available through the Go.dev Change Log Entry. Additional vulnerability details are documented in the Go.dev Vulnerability Report GO-2025-4007.

Workarounds

  • Implement strict timeouts on certificate validation to limit potential resource exhaustion
  • Add rate limiting for certificate submission endpoints
  • Filter or reject certificates with unusually large name constraint extensions
  • Consider using certificate validation in isolated worker processes with resource limits
bash
# Example: Setting resource limits for Go applications on Linux
# Limit CPU time to prevent unbounded resource consumption

# Using systemd service configuration
[Service]
CPUQuota=50%
TimeoutSec=30

# Or using ulimit before starting the application
ulimit -t 60  # Limit CPU time to 60 seconds

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGolang

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-407
  • Technical References
  • Go.dev Issue Tracker Update

  • Golang Announce Discussion

  • OpenWall OSS Security Mailing List
  • Vendor Resources
  • Go.dev Change Log Entry

  • Go.dev Vulnerability Report GO-2025-4007
  • Related CVEs
  • CVE-2025-47911: Go html.Parse DoS Vulnerability

  • CVE-2025-58190: Golang x/net/html 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