CVE-2025-58185

Parsing DER payload can cause memory exhaustion in encoding/asn1

Published Oct 29, 2025 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Golang go
CPEs cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Vendors & Products Golang go
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Golang
Golang encoding
Vendors & Products Golang
Golang encoding
Type Values Removed Values Added
Description Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Title Parsing DER payload can cause memory exhaustion in encoding/asn1
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Nov 4, 2025, 9:13 PM
Reserved
Aug 27, 2025, 2:50 PM
Status
Analyzed
Published
Oct 29, 2025, 11:16 PM
Modified
Oct 8, 2026, 10:10 AM
Severity
Moderate
Public date
Oct 29, 2025, 10:10 PM