Go Vulnerability Database
GO-2025-4006
Excessive CPU consumption in ParseAddress in net/mail
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.24.8 (fixed in 1.24.8) From 1.25.0 before 1.25.2 (fixed in 1.25.2) |