CVE-2025-61723
HIGH 7.5CVSS 3.1Quadratic complexity when parsing some invalid inputs in encoding/pem
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.
- Published
- 29 Oct 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security@golang.org
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- BIT-golang-2025-61723GO-2025-4009
- Sources
- NVDJSONOSV GO-2025-4009JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.24.8 | 1.24.8 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.25.0, < 1.25.2 | 1.25.2 |
| OSV | Go | stdlib | < 1.24.8; >= 1.25.0, < 1.25.2 | 1.24.8, 1.25.2 |
References
- https://go.dev/cl/709858 · Patch, FIX
- https://go.dev/issue/75676 · Issue Tracking, REPORT
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI · Mailing List, Release Notes, WEB
- https://pkg.go.dev/vuln/GO-2025-4009 · Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/10/08/1 · Mailing List, Third Party Advisory
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 29 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Oct 2025)