CVE-2025-61725: Go Standard Library Net/mail
High severity, CVSS 7.5. EPSS: 0.8% probability of exploitation activity in the next 30 days.
The ParseAddress function constructs domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this can cause excessive CPU consumption.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Go Standard Library Net/mail, before 1.24.8: fixed in 1.24.8
- Go Standard Library Net/mail, from 1.25.0, before 1.25.2: fixed in 1.25.2
Affected products
- Go Standard Library Net/mail: before 1.24.8 (fixed in 1.24.8); from 1.25.0, before 1.25.2 (fixed in 1.25.2)
Affected packages
- stdlib (Go)
Published 2025-10-29. Last modified 2026-10-08.