{"id":"CVE-2025-59937","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-59937","generatedAt":"2026-10-28T10:46:52.746Z","title":"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).","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","published":"2025-09-29T23:15:32.000Z","lastModified":"2026-10-09T09:10:00.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":8.2,"severity":"HIGH","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/M"},"cwe":["CWE-88"],"affected":["pebcak/go-mail"],"epss":{"score":0.00542,"percentile":0.45343,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.54%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/wneessen/go-mail/commit/42e92cfe027be04aff72921adb0f72f11d517479","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/wneessen/go-mail/issues/495","tags":["Exploit","Issue Tracking"],"source":"security-advisories@github.com"},{"url":"https://github.com/wneessen/go-mail/pull/496","tags":["Issue Tracking","Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/wneessen/go-mail/security/advisories/GHSA-wpwj-69cm-q9c5","tags":["Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/wneessen/go-mail/issues/495","tags":["Exploit","Issue Tracking"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-59937","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}