{"schemaVersion":3,"id":"CVE-2025-59937","aliases":["CGA-3p3h-h7fw-29v7","CGA-74m6-x9pv-hqmj","CGA-g69g-r5xj-mqf5","CGA-j72x-h7vq-f4v6","CGA-jm37-8xfv-w286","CGA-pg66-whc4-8cwv","GHSA-wpwj-69cm-q9c5","GO-2025-3988","CGA-4x9m-3r36-v73r","CGA-ggwg-w2q8-p3h3","CGA-q7rg-57f7-w24w","CGA-xg8c-mxg8-gfmr"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2025-09-29T22:21:02.484Z","modified":"2025-09-30T14:44:35.194Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00542,"percentile":0.44687,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00542},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00542,"percentile":0.44687}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00542,"percentile":0.44687}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_WNEESSEN_GO-MAIL","name":"Go Mail","source":"github","url":"https://github.com/wneessen/go-mail/issues/495","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","description":"The product constructs a string for a command to be executed by a separate component\nin another control sphere, but it does not properly delimit the\nintended arguments, options, or switches within that command string.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/88.html"}],"affected":[{"vendor":"chainguard","product":"gitea","name":"gitea","label":"gitea","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitea","purlType":"apk","versions":[{"text":"< 1.24.6-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.6-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitea-compat","name":"gitea-compat","label":"gitea-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitea-compat","purlType":"apk","versions":[{"text":"< 1.24.6-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.6-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitea-fips","name":"gitea-fips","label":"gitea-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitea-fips","purlType":"apk","versions":[{"text":"< 1.24.6-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.6-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitea-fips-compat","name":"gitea-fips-compat","label":"gitea-fips-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitea-fips-compat","purlType":"apk","versions":[{"text":"< 1.24.6-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.6-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"sftpgo","name":"sftpgo","label":"sftpgo","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/sftpgo","purlType":"apk","versions":[{"text":"< 2.6.6-r9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.6-r9","eol":null,"hubHref":null},{"vendor":"wolfi","product":"gitea","name":"gitea","label":"gitea","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/gitea","purlType":"apk","versions":[{"text":"< 1.24.6-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.6-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"gitea-compat","name":"gitea-compat","label":"gitea-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/gitea-compat","purlType":"apk","versions":[{"text":"< 1.24.6-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.6-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"sftpgo","name":"sftpgo","label":"sftpgo","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/sftpgo","purlType":"apk","versions":[{"text":"< 2.6.6-r9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.6-r9","eol":null,"hubHref":null},{"vendor":"github.com/wneessen","product":"go-mail","name":"github.com/wneessen/go-mail","label":"go-mail","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/wneessen/go-mail","purlType":"golang","versions":[{"text":"< 0.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.1","eol":null,"hubHref":null},{"vendor":"pebcak","product":"go-mail","name":"go-mail","label":"go-mail","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.1","eol":null,"hubHref":"/vendor/pebcak/go-mail"},{"vendor":"wneessen","product":"go-mail","name":"go-mail","label":"go-mail","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.1","eol":null,"hubHref":"/vendor/wneessen/go-mail"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/wneessen/go-mail/security/advisories/GHSA-wpwj-69cm-q9c5","label":"github.com/wneessen/go-mail/security/advisories/GHSA-wpwj-69cm-q9c5","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/wneessen/go-mail/issues/495","label":"github.com/wneessen/go-mail/issues/495","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Exploit","Issue Tracking"]},{"url":"https://github.com/wneessen/go-mail/pull/496","label":"github.com/wneessen/go-mail/pull/496","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/wneessen/go-mail/commit/42e92cfe027be04aff72921adb0f72f11d517479","label":"github.com/wneessen/go-mail/commit/42e92cfe027be04aff72921adb0f72f11d517479","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59937.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59937.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59937","label":"nvd.nist.gov/vuln/detail/CVE-2025-59937","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/wneessen/go-mail","label":"github.com/wneessen/go-mail","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3988","label":"pkg.go.dev/vuln/GO-2025-3988","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15710-1","OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["CGA-5H3X-5F3M-FP9G","CGA-J39Q-MWQM-5MRC","CGA-VMCV-JFJQ-WC5F","OPENSUSE-SU-2025:15710-1","OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2025-09-29T22:21:02.484Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-30T14:44:35.194Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T07:16:13.862Z","stale":false,"partial":false}}