All CVEs / Go standard library
CVE-2025-61725Go standard library net/mail
High 7.5 No auth needed
Follow: this CVE · Go standard library · Go standard library net/mail We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 29, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for net/mail.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.24.8 |
1.24.8 |
go get stdlib@v1.24.8 |
| Go | stdlib |
≥ 1.25.0 < 1.25.2 |
1.25.2 |
go get stdlib@v1.25.2 |
Per OSV / GitHub Advisories (GO-2025-4006). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · net/mail
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7385 · May 15, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7291 · May 14, 2026 Critical
- Security update for go1.24-openssl · SUSE · SUSE-SU-2026:20629-1 · Mar 3, 2026 Critical
- Security update for go1.24-openssl · SUSE · openSUSE-SU-2026:20308-1 · Mar 3, 2026 Critical
Also: SUSE (+11)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.