{"cve":"CVE-2025-59937","nvd":{"published":"2025-09-29T23:15:31.807","modified":"2026-10-09T09:10:00.213","status":"Analyzed","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","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-88"],"references":["https://github.com/wneessen/go-mail/commit/42e92cfe027be04aff72921adb0f72f11d517479","https://github.com/wneessen/go-mail/issues/495","https://github.com/wneessen/go-mail/pull/496","https://github.com/wneessen/go-mail/security/advisories/GHSA-wpwj-69cm-q9c5","https://github.com/wneessen/go-mail/issues/495"],"products":["pebcak:go-mail"],"source":"nvd","synced_at":"2026-10-19T22:11:26.888974865+00:00"},"epss":{"cve":"CVE-2025-59937","score":0.00542,"percentile":0.45257,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-wpwj-69cm-q9c5","url":"https://osv.dev/vulnerability/GHSA-wpwj-69cm-q9c5","summary":"go-mail has insufficient address encoding when passing mail addresses to the SMTP client","modified":"2026-09-10T03:50:28.963332533Z","packages":[{"ecosystem":"Go","name":"github.com/wneessen/go-mail","purl":"pkg:golang/github.com/wneessen/go-mail","ranges":["<0.7.1"],"fixed":["0.7.1"]}]},{"id":"GO-2025-3988","url":"https://osv.dev/vulnerability/GO-2025-3988","summary":"Insufficient address encoding when passing mail addresses to the SMTP client in github.com/wneessen/go-mail","modified":"2026-02-04T02:51:59.143444Z","packages":[{"ecosystem":"Go","name":"github.com/wneessen/go-mail","purl":"pkg:golang/github.com/wneessen/go-mail","ranges":["<0.7.1"],"fixed":["0.7.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}