GO-2025-4006
Excessive CPU consumption in ParseAddress in net/mail
At a glance
- Published
- Updated
- CVE
- CVE-2025-61725
- Aliases
- BIT-golang-2025-61725
Description
The ParseAddress function constructs domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this can cause excessive CPU consumption.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.24.8, introduced 1.25.0, fixed 1.25.2 |
References
- https://go.dev/cl/709860 FIX
- https://go.dev/issue/75680 REPORT
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |