Skip to main content
EPSS 0.6%top 53%

CVE-2025-61725: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/mail

0
High
Published: 10/31/2025 (10/31/2025, 01:05:04 UTC)
Source: CVE Database V5
Vendor/Project: Go standard library
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

github.com/golang/go
pkg:golang/github.com/golang/go
Affected versions
<=1.25.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 21:17:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses