Cyber Resilience

CVE-2025-58185

DoS in Golang Go ≤ 1.24.8

Published
29 October 2025
Modified
06 February 2026
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.0052 41th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-58185 is a medium-severity Allocation of Resources Without Limits or Throttling (CWE-770) vulnerability in Golang Go. Its CVSS base score is 5.3 (Medium).

Operationally, ranked at the 41th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-6 (Resource Availability) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-61724Same product: Golang Go
CVE-2026-32280Same product: Golang Go
CVE-2025-61723Same product: Golang Go
CVE-2025-61726Same product: Golang Go
CVE-2026-32288Same product: Golang Go
CVE-2025-61728Same product: Golang Go
CVE-2023-39322Same product: Golang Go
CVE-2023-24536Same product: Golang Go
CVE-2026-39820Same product: Golang Go
CVE-2026-32283Same product: Golang Go

Affected Assets

golang
go
≤ 1.24.8 · 1.25.0 — 1.25.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SC-6 Resource Availability
  • SC-5 Denial-of-service Protection
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V15.4.4

Mitigating Controls (NIST 800-53 r5) AI

prevent

Rejects or sanitizes the malicious DER payload before the parser performs unbounded memory allocation.

prevent

Enforces per-process or per-request memory limits so a single DER parse cannot exhaust system resources.

prevent

Applies denial-of-service protections that throttle or shed load from resource-exhaustion attempts triggered by crafted inputs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.IR-04 mostly match
degrades

Monitoring capacity and taking action to maintain availability directly reduces unchecked resource allocation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Baseline comparison of CPU, memory and bandwidth usage helps surface uncontrolled resource allocations before they cause service degradation.

prevents

Capacity projections and elasticity measures ensure that allocation requests are bounded and can be throttled, reducing the window in which an attacker can force unbounded resource reservations.

mitigates

Defining retention periods and deletion schedules for backup copies prevents indefinite accumulation of data on storage media without corresponding resource-management controls.

mitigates

Architectural redundancy and automatic failover limit the impact of an attacker who forces excessive allocations, because spare capacity can absorb the load until the primary instance recovers.

none

Documented incident response procedures that include activation of continuity plans and controlled recovery help ensure that resource consumption triggered by an incident is bounded and managed rather than left unbounded.

none

Mandating tested continuity procedures that preserve or replace resource-limiting controls prevents an attacker from exploiting the absence of throttling mechanisms during an outage.

References