Disclosure summary
go-mail is a comprehensive library for sending mails with Go. In versions 0.7.0 and below, due to incorrect handling of the mail.Address values when a sender- or recipient address is passed to the corresponding MAIL FROM or RCPT TO commands of the SMTP client, there is a possibility of wrong address routing or even ESMTP parameter smuggling. For successful exploitation, it is required that the user's code allows for arbitrary mail address input (i. e. through a web form or similar). If only static mail addresses are used (i. e. in a config file) and the mail addresses in use do not consist of quoted local parts, this should not affect users. This issue is fixed in version 0.7.1
Source-reported weakness categories
CWE-88
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2025-59937
Open original source · Updated Oct 09, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| pebcak | go-mail | * {"versionEndExcluding":"0.7.1"} |
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Patch
- github.com — Exploit, Issue Tracking
- github.com — Issue Tracking, Patch
- github.com — Vendor Advisory
- github.com — Exploit, Issue Tracking
PUBLISHED 2025-09-29T19:15:31-04:00
MODIFIED 2026-10-09T05:10:00-04:00
INGESTED 2026-10-10T20:50:24-04:00