What’s Vulnerable › Vulnerabilities

CVE-2025-61725: Excessive CPU consumption in ParseAddress in net/mail

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 products

How to fix

Upgrade to a fixed version: Go standard library net/mail 1.24.8, 1.25.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-61725 or the next vulnerability affects your stack