Vulnerability · Published Jul 21, 2025 · Assigned by eclipse
CVE-2025-7962
Medium 6.0
In plain English
A medium-severity security flaw in Jakarta Mail from Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)6.0Medium
Exploit odds (30 days)0.9%top 40.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | jakarta-mail | no fix listed | DEBIAN-CVE-2025-7962 |
| Debian:13 | jakarta-mail | no fix listed | DEBIAN-CVE-2025-7962 |
| Debian:14 | jakarta-mail | no fix listed | DEBIAN-CVE-2025-7962 |
| Debian:12 | javamail | no fix listed | DEBIAN-CVE-2025-7962 |
| Debian:13 | javamail | no fix listed | DEBIAN-CVE-2025-7962 |
| Debian:14 | javamail | no fix listed | DEBIAN-CVE-2025-7962 |
| Maven | com.sun.mail:jakarta.mail | 2.0.2 | GHSA-9342-92gg-6v29 |
| Maven | com.sun.mail:jakarta.mail | 1.6.8 | GHSA-9342-92gg-6v29 |
| Maven | org.eclipse.angus:smtp | 2.0.4 | GHSA-9342-92gg-6v29 |
| Ubuntu:22.04:LTS | jakarta-mail | no fix listed | UBUNTU-CVE-2025-7962 |
| Ubuntu:24.04:LTS | jakarta-mail | no fix listed | UBUNTU-CVE-2025-7962 |
| Ubuntu:25.10 | jakarta-mail | no fix listed | UBUNTU-CVE-2025-7962 |
| Ubuntu:26.04:LTS | jakarta-mail | no fix listed | UBUNTU-CVE-2025-7962 |
| Ubuntu:26.10 | jakarta-mail | no fix listed | UBUNTU-CVE-2025-7962 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Eclipse Foundation | Jakarta Mail | see references |
Weakness: CWE-147 · 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