Read the docs
TI-2025-35993 Aliases CVE-2025-58187GHSA-frhw-mqj2-wxw2

Quadratic complexity when checking name constraints in crypto/x509

Priority LOW 39CWE-407Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 fixed, 71 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-407.

Summary

Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00406 35th percentileScored 2026-11-07
Fix Partial crypto/x509 (Go standard library): 1.24.9, 1.25.3Red Hat: 2 advisoriesRed Hat: 1 fixed, 71 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Go standard librarycrypto/x509before 1.24.9; 1.25.0 to before 1.25.31.24.9, 1.25.3Patch availableCNA
  • crypto/x509 VendorGo standard library Affected before 1.24.9; 1.25.0 to before 1.25.3 Fixed in 1.24.9, 1.25.3 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*before 1.24.9; 1.25.0 to before 1.25.3VulnerableGo standard library
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions before 1.24.9; 1.25.0 to before 1.25.3 Vulnerable ·Go standard library

Remediation

  • Fix · CNA crypto/x509 (Go standard library) Fixed in 1.24.9, 1.25.3

Red Hat 2 advisories

  • RHSA-2026:7385 Released 2026-04-10 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images golang1.25-1.25.9-1.hum1@aarch64, golang1.25-1.25.9-1.hum1@src, golang1.25-1.25.9-1.hum1@x86_64 +12
  • RHSA-2026:7291 Released 2026-04-09 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images golang1.26-1.26.2-1.hum1@aarch64, golang1.26-1.26.2-1.hum1@src, golang1.26-1.26.2-1.hum1@x86_64 +12

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Assisted Installer for Red Hat OpenShift Container Platform 2Affected—
Builds for Red Hat OpenShiftAffected—
Compliance OperatorAffected—
Confidential Compute AttestationAffected—
Cryostat 4Affected—
Custom Metric Autoscaler operator for Red Hat OpenshiftAffected—
Deployment Validation OperatorAffected—
External Secrets Operator for Red Hat OpenShiftAffected—
ExternalDNS OperatorAffected—
Fence Agents Remediation OperatorAffected—
File Integrity OperatorAffected—
Gatekeeper 3Affected—
Logging Subsystem for Red Hat OpenShiftAffected—
Logical Volume Manager StorageAffected—
Machine Deletion Remediation OperatorAffected—
Migration Toolkit for Applications 8Affected—
Migration Toolkit for ContainersAffected—
Multicluster Engine for KubernetesAffected—
Multicluster Global HubAffected—
Network Observability OperatorAffected—
Node HealthCheck OperatorAffected—
OpenShift API for Data ProtectionAffected—
OpenShift Developer Tools and ServicesAffected—
OpenShift LightspeedAffected—
OpenShift PipelinesAffected—
OpenShift ServerlessAffected—
OpenShift Service Mesh 2Affected—
OpenShift Service Mesh 3Affected—
Power monitoring for Red Hat OpenShiftAffected—
Red Hat 3scale API Management Platform 2Affected—
Red Hat Advanced Cluster Management for Kubernetes 2Affected—
Red Hat Advanced Cluster Security 4Affected—
Red Hat Ansible Automation Platform 2Affected—
Red Hat Certification Program for Red Hat Enterprise Linux 9Affected—
Red Hat Connectivity Link 1Affected—
Red Hat Developer Hub 1Affected—
Red Hat Edge Manager 1Affected—
Red Hat Enterprise Linux 10AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8Affected—
Red Hat Enterprise Linux 9AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3Affected—
Red Hat Lightspeed for Runtimes OperatorAffected—
Red Hat OpenShift AI (RHOAI)Affected—
Red Hat OpenShift Cluster Manager CLIAffected—
Red Hat OpenShift Container Platform 4Affected—
Red Hat OpenShift Dev SpacesAffected—
Red Hat OpenShift Dev Workspaces OperatorAffected—
Red Hat OpenShift GitOpsAffected—
Red Hat OpenShift Virtualization 4Affected—
Red Hat OpenShift distributed tracing 3Affected—
Red Hat OpenShift for Windows ContainersAffected—
Red Hat OpenShift on AWSAffected—
Red Hat OpenStack Platform 16.2Affected—
Red Hat OpenStack Platform 17.1Affected—
Red Hat OpenStack Platform 18.0Affected—
Red Hat Openshift Data Foundation 4Affected—
Red Hat Quay 3Affected—
Red Hat Satellite 6Affected—
Red Hat Service Interconnect 1Affected—
Red Hat Service Interconnect 2Affected—
Red Hat Trusted Artifact SignerAffected—
Red Hat Web TerminalAffected—
Red Hat build of Apache Camel - HawtIO 4Affected—
Security Profiles OperatorAffected—
Service Telemetry Framework 1.5Affected—
Zero Trust Workload Identity ManagerAffected—
Zero Trust Workload Identity Manager - Tech PreviewAffected—
cert-manager Operator for Red Hat OpenShiftAffected—
mirror registry for Red Hat OpenShiftAffected—
mirror registry for Red Hat OpenShift 2Affected—
streams for Apache Kafka 3Affected—
Red Hat Hardened ImagesFixed RHSA-2026:7291, RHSA-2026:7385

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58187
  2. 2026-10-03 Alias added: GHSA-frhw-mqj2-wxw2
  3. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
  • TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
  • TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
  • TI-2018-12083 Improper input validation in [UNKNOWN] golang CVSS 3.1HIGH 8.1
  • TI-2024-16306 Mishandling of corrupt central directory record in archive/zip CVSS 3.1MEDIUM 5.5
  • TI-2021-15910 Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a… CVSS 3.1CRITICAL 9.8
See all 170 →

Sources