CVE-2025-61725: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/mail
CVE-2025-61725 is a high-severity vulnerability in the Go standard library's net/mail package. The ParseAddress function inefficiently constructs domain-literal address components using repeated string concatenation, which can lead to excessive CPU consumption when processing large domain-literal components. This results in a denial of service condition due to resource exhaustion. The vulnerability affects Go versions up to 1.25.0. No official patch or remediation guidance is currently available, and no known exploits have been reported in the wild.
AI Analysis
Technical Summary
The vulnerability in Go's net/mail package arises from the ParseAddress function's inefficient algorithmic complexity (CWE-407). Specifically, it constructs domain-literal address components by repeatedly concatenating strings, which is computationally expensive for large inputs. This inefficiency can be exploited to cause excessive CPU usage, leading to a denial of service (DoS) impact. The issue affects Go versions from 0 up to 1.25.0. There is no vendor advisory or patch information available at this time.
Potential Impact
The primary impact is a denial of service condition caused by excessive CPU consumption when parsing large domain-literal email address components. This does not affect confidentiality or integrity but can degrade availability of applications using the vulnerable net/mail package.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider implementing input size limits or timeouts when parsing email addresses to mitigate potential resource exhaustion.
CVE-2025-61725: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/mail
Description
CVE-2025-61725 is a high-severity vulnerability in the Go standard library's net/mail package. The ParseAddress function inefficiently constructs domain-literal address components using repeated string concatenation, which can lead to excessive CPU consumption when processing large domain-literal components. This results in a denial of service condition due to resource exhaustion. The vulnerability affects Go versions up to 1.25.0. No official patch or remediation guidance is currently available, and no known exploits have been reported in the wild.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Go's net/mail package arises from the ParseAddress function's inefficient algorithmic complexity (CWE-407). Specifically, it constructs domain-literal address components by repeatedly concatenating strings, which is computationally expensive for large inputs. This inefficiency can be exploited to cause excessive CPU usage, leading to a denial of service (DoS) impact. The issue affects Go versions from 0 up to 1.25.0. There is no vendor advisory or patch information available at this time.
Potential Impact
The primary impact is a denial of service condition caused by excessive CPU consumption when parsing large domain-literal email address components. This does not affect confidentiality or integrity but can degrade availability of applications using the vulnerable net/mail package.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider implementing input size limits or timeouts when parsing email addresses to mitigate potential resource exhaustion.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2025-09-30T15:05:03.605Z
- State
- PUBLISHED
Threat ID: 69029406f29b216d6d5e20ed
Added to database: 10/29/2025, 22:24:06 UTC
Last enriched: 06/03/2026, 21:17:34 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 551
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.