go-mail has insufficient address encoding when passing mail addresses to the SMTP client
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| wneessen | go-mail | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Go-mail | Go-mail | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-31582 | 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 |
Github GHSA |
GHSA-wpwj-69cm-q9c5 | go-mail has insufficient address encoding when passing mail addresses to the SMTP client |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.542% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pebcak
Pebcak go-mail |
|
| CPEs | cpe:2.3:a:pebcak:go-mail:*:*:*:*:*:go:*:* | |
| Vendors & Products |
Pebcak
Pebcak go-mail |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Go-mail
Go-mail go-mail |
|
| Vendors & Products |
Go-mail
Go-mail go-mail |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 | |
| Title | go-mail has insufficient address encoding when passing mail addresses to the SMTP client | |
| Weaknesses | CWE-88 | |
| References |
| |
| Metrics |
cvssV4_0
|