GO-2025-4009
Quadratic complexity when parsing some invalid inputs in encoding/pem
At a glance
- Published
- Updated
- CVE
- CVE-2025-61723
- Aliases
- BIT-golang-2025-61723
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.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.24.8, introduced 1.25.0, fixed 1.25.2 |
References
- https://go.dev/issue/75676 REPORT
- https://go.dev/cl/709858 FIX
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |