CVE-2025-61725 Excessive CPU consumption in ParseAddress in net/mail
Attackers can cause excessive CPU consumption in Go applications by sending large domain-literal components to the net/mail ParseAddress function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-61725?
CVE-2025-61725 is a high-severity denial of service vulnerability in Go standard library net/mail, published on 29 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-61725?
2 open source packages ship an affected version, including golang and stdlib.
| Package | Affected | Fixed in |
|---|---|---|
golang Bitnami | All versions | 1.24.8, 1.25.2 |
stdlib Go | All versions | 1.24.8, 1.25.2 |
How do I fix CVE-2025-61725?
Upgrade golang to a fixed version for your release line: 1.24.8 or 1.25.2.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-61725 being exploited?
There is no known exploitation of CVE-2025-61725 in the wild and no public exploit code.
Sources
Also known as AZL-69290, AZL-78923, AZL-98730, BELL-CVE-2025-61725, BIT-golang-2025-61725, CLEANSTART-2026-AY14774 and 290 more.