{
  "id": "CVE-2025-59937",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-59937",
  "published_at": "2025-09-29T22:21:02.484Z",
  "title": "go-mail has insufficient address encoding when passing mail addresses to the SMTP client",
  "vendor": "wneessen",
  "product": "go-mail",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": 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",
  "cwe": "CWE-88",
  "cpes": [
    "cpe:2.3:a:pebcak:go-mail:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "wneessen",
        "product": "go-mail",
        "ranges": [
          "\u003c 0.7.1"
        ],
        "fixed_in": [
          "0.7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade go-mail to 0.7.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/wneessen/go-mail/security/advisories/GHSA-wpwj-69cm-q9c5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/wneessen/go-mail/pull/496"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/wneessen/go-mail/commit/42e92cfe027be04aff72921adb0f72f11d517479"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
