CVE-2025-7962
MEDIUM 6.0CVSS 4.0Jakarta Mail vulnerable to SMTP Injection
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.
- Published
- 21 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Modified
- Weakness
- CWE-147
- Also known as
- GHSA-9342-92gg-6v29
- Sources
- NVDJSONOSV GHSA-9342-92gg-6v29JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | emo@eclipse.org (Secondary) | CVSS 4.0 | MEDIUM 6.0 | 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eclipse | jakarta_mailcpe:2.3:a:eclipse:jakarta_mail:*:*:*:*:*:*:*:* |
< 1.6.8 | 1.6.8 |
| NVD | eclipse | jakarta_mailcpe:2.3:a:eclipse:jakarta_mail:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.2 | 2.0.2 |
| NVD | eclipse | angus_mailcpe:2.3:a:eclipse:angus_mail:*:*:*:*:*:*:*:* |
< 2.0.4 | 2.0.4 |
| OSV | Maven | org.eclipse.angus:smtp | < 2.0.4 | 2.0.4 |
| OSV | Maven | com.sun.mail:jakarta.mail | < 1.6.8 | 1.6.8 |
| OSV | Maven | com.sun.mail:jakarta.mail | >= 2.0.0, < 2.0.2 | 2.0.2 |
References
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/67 · Issue Tracking, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/09/03/4 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-7962 · ADVISORY
- https://github.com/jakartaee/mail-api/issues/765 · WEB
- https://github.com/jakartaee/mail-api/pull/760 · WEB
- https://github.com/eclipse-ee4j/angus-mail/commit/269099b652a0a5c2fa140f1296a18f0fbbea0d44 · WEB
- https://github.com/eclipse-ee4j/angus-mail · PACKAGE
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290 · WEB
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290#note_5320539 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jul 2025)