{"id":"GHSA-9342-92gg-6v29","summary":"Jakarta Mail vulnerable to SMTP Injection","details":"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.","aliases":["CVE-2025-7962"],"modified":"2026-07-17T21:16:18.701299456Z","published":"2025-07-21T18:32:19Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-08-06T20:44:37Z","nvd_published_at":"2025-07-21T18:15:28Z","cwe_ids":["CWE-147"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7962"},{"type":"WEB","url":"https://github.com/jakartaee/mail-api/issues/765"},{"type":"WEB","url":"https://github.com/jakartaee/mail-api/pull/760"},{"type":"WEB","url":"https://github.com/eclipse-ee4j/angus-mail/commit/269099b652a0a5c2fa140f1296a18f0fbbea0d44"},{"type":"PACKAGE","url":"https://github.com/eclipse-ee4j/angus-mail"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/cve-assignement/-/issues/67"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290#note_5320539"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/09/03/4"}],"affected":[{"package":{"name":"org.eclipse.angus:smtp","ecosystem":"Maven","purl":"pkg:maven/org.eclipse.angus/smtp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4"}]}],"versions":["1.0.0","1.0.0-M1","1.0.0-M2","1.1.0","2.0.0","2.0.1","2.0.2","2.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-9342-92gg-6v29/GHSA-9342-92gg-6v29.json"}},{"package":{"name":"com.sun.mail:jakarta.mail","ecosystem":"Maven","purl":"pkg:maven/com.sun.mail/jakarta.mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8"}]}],"versions":["1.6.3","1.6.4","1.6.5","1.6.6","1.6.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-9342-92gg-6v29/GHSA-9342-92gg-6v29.json"}},{"package":{"name":"com.sun.mail:jakarta.mail","ecosystem":"Maven","purl":"pkg:maven/com.sun.mail/jakarta.mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.2"}]}],"versions":["2.0.0","2.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-9342-92gg-6v29/GHSA-9342-92gg-6v29.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}