{"id":"CVE-2025-59937","revision":"355a49e1a57c46168ca5b0e1cac0dde4","records":[{"revision":"355a49e1a57c46168ca5b0e1cac0dde4","observedAt":"2026-10-25T03:17:27.277+00:00","statement":{"source":"nvd","id":"CVE-2025-59937","aliases":[],"title":"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…","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","state":0,"publishedAt":"2025-09-29T23:15:31.807+00:00","modifiedAt":"2026-10-09T09:10:00.213+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":8.2,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"severity":"CRITICAL"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-59937","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-88"],"productCriteria":["cpe:2.3:a:pebcak:go-mail:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2025-09-29T23:15:31.807","lastModified":"2026-10-09T09:10:00.213"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-59937","identifiers":["CVE-2025-59937"]},"retained":false,"historicalAffected":[]}],"coverage":[]}