CVE-2025-61723

Quadratic complexity when parsing some invalid inputs in encoding/pem

Published Oct 29, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs.

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': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV3_1

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

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', '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 The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs.
Title Quadratic complexity when parsing some invalid inputs in encoding/pem
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Nov 4, 2025, 9:14 PM
Reserved
Sep 30, 2025, 3:05 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