{"id":"CVE-2025-7962","aliases":["CVE-2025-7962","GHSA-9342-92gg-6v29"],"related":[],"kind":"vulnerability","state":"published","title":"Jakarta Mail vulnerable to SMTP Injection","summary":"In Jakarta Mail versions prior to 2.0.2 it is possible to perform an SMTP Injection by utilizing the \\r and \\n UTF-8 characters to separate different messages.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Jakarta Mail versions prior to 2.0.2 it is possible to perform an SMTP Injection by utilizing the \\r and \\n UTF-8 characters to separate different messages.","source":"cvelist"},{"lang":"en","text":"In Jakarta Mail 2.2 it is possible to preform a SMTP Injection by utilizing the \\r and \\n UTF-8 characters to separate different messages.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Jakarta Mail 2.2 es posible realizar una inyección SMTP utilizando los caracteres UTF-8 \\r y \\n para separar diferentes mensajes.","source":"nvd"}],"published":"2025-07-21T17:22:12.520Z","modified":"2026-09-10T03:50:25.995Z","severity":{"scorer":"eclipse","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"eclipse","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N","score":6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-147"],"affected":[{"ranges":[{"version":"1.6.8","status":"unaffected"},{"version":"2.0.2","status":"unaffected"}],"vendor":"Eclipse Foundation","product":"Jakarta Mail","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.0.4"}],"ecosystem":"Maven","package":"org.eclipse.angus:smtp","purl":"pkg:maven/org.eclipse.angus/smtp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.8"}],"ecosystem":"Maven","package":"com.sun.mail:jakarta.mail","purl":"pkg:maven/com.sun.mail/jakarta.mail","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.2"}],"ecosystem":"Maven","package":"com.sun.mail:jakarta.mail","purl":"pkg:maven/com.sun.mail/jakarta.mail","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.6.8"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.2"}],"vendor":"eclipse","product":"jakarta_mail","cpe":"cpe:2.3:a:eclipse:jakarta_mail:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"2.0.4"}],"vendor":"eclipse","product":"angus_mail","cpe":"cpe:2.3:a:eclipse:angus_mail:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.eclipse.org/security/cve-assignement/-/issues/67","tags":["issue-tracking","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/03/4","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7962","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jakartaee/mail-api/issues/765","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jakartaee/mail-api/pull/760","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-ee4j/angus-mail/commit/269099b652a0a5c2fa140f1296a18f0fbbea0d44","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-ee4j/angus-mail","tags":["package"],"sources":["ghsa"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290","tags":["web"],"sources":["ghsa"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290#note_5320539","tags":["web"],"sources":["ghsa"]}],"credits":["1ue","blu3r"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-21T17:41:32.809Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-7962","url":"https://www.cve.org/CVERecord?id=CVE-2025-7962","licence":"CVE Terms of Use","modified":"2026-06-23T10:26:14.007Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9342-92gg-6v29","url":"https://github.com/advisories/GHSA-9342-92gg-6v29","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:25.995Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-7962","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7962","licence":"Public domain","modified":"2026-06-23T12:16:24.730Z"}],"updatedAt":"2026-11-25T22:59:01.509Z","epss":{"score":0.00913,"percentile":0.61133,"date":"2026-12-01T12:00:22.000Z"}}