CVE-2025-7962 json
Jakarta Mail vulnerable to SMTP Injection
published 2025-07-21 15 mo ago modified 2026-09-10 1 mo ago also GHSA-9342-92gg-6v29 , EUVD-2025-22141
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.eclipse.angus:smtp 2.0.4
- maven com.sun.mail:jakarta.mail 1.6.8, 2.0.2
- eclipse jakarta_mail 1.6.8, 2.0.2
- eclipse angus_mail 2.0.4
- ant SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 1.10.18-150200.4.31.3
- bsf SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 2.4.0-150200.13.8.2
- qdox SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 2.0.1-150200.3.6.2
- antlr SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 2.7.7-150200.18.10.2
- junit5 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +9 more 5.14.4-150200.3.15.15
- jdepend SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 2.10-150200.11.6.2
- picocli SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +9 more 4.7.6-150200.3.19.2
- zstd-jni SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 1.5.7.16-150200.5.7.2
suse advisories SUSE-SU-2026:4677-1SUSE-SU-2025:03025-1
- ant openSUSE Leap 16.0 1.10.18-160000.1.1
- ant-antlr openSUSE Leap 16.0 1.10.18-160000.1.1
- ant-junit openSUSE Leap 16.0 1.10.18-160000.1.1
- ant-junit5 openSUSE Leap 16.0 1.10.18-160000.1.1
- ant openSUSE Tumbleweed 1.10.18-1.1
- javamail openSUSE Tumbleweed 1.6.2-3.1
opensuse advisories openSUSE-SU-2026:21891-1openSUSE-SU-2026:11763-1openSUSE-SU-2025:15378-1
- github.com/eclipse-ee4j/angus-mail@269099b commit
- github.com/jakartaee/mail-api#760 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-7962 updated cvss 5.3
com.sun.mail/jakarta.mail: Jakarta Mail SMTP Injection Vulnerability
-
Red Hat build of Apache Camel 4 for Quarkus 3 angus-mail Red Hat build of Apache Camel for Spring Boot 4 angus-mail Red Hat build of Apicurio Registry 3 angus-mail Red Hat Build of Keycloak angus-mail Red Hat build of Quarkus angus-mail Red Hat Data Grid 8 angus-mailaffected: workaround, no fix available “Fix deferred”
+2 more productsfewer
Red Hat JBoss Enterprise Application Platform 8 angus-mail Red Hat JBoss Enterprise Application Platform Expansion Pack angus-mail -
Red Hat Data Grid 8 jakarta.mail Red Hat Enterprise Linux 9 jmc Red Hat Fuse 7 jakarta.mail Red Hat JBoss Enterprise Application Platform 7 jakarta.mail Red Hat JBoss Enterprise Application Platform 8 jakarta.mail Red Hat JBoss Enterprise Application Platform Expansion Pack jakarta.mailnot affected: vulnerable code not present
+4 more productsfewer
Red Hat OpenShift Dev Spaces devspaces/server-rhel8, devspaces/server-rhel9 Red Hat Process Automation 7 jakarta.mail Red Hat Satellite 6 candlepin, jakarta.mail, candlepin-selinux Red Hat Single Sign-On 7 jakarta.mail
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.eclipse.angus:smtp | <2.0.4 |
2.0.4 |
| maven | com.sun.mail:jakarta.mail | <1.6.8 >=2.0.0, <2.0.2 |
1.6.8 2.0.2 |
Affected products
- Eclipse Foundation Jakarta Mail
Classification
- Weakness
-
- CWE-147 Improper Neutralization of Input Terminators
References
-
github.com
/jakartaee/mail-api/pull/760
web
-
github.com
/eclipse-ee4j/angus-mail/commit/269099b652a0a5c2fa140f1296a18f0fbbea0d44
web
-
gitlab.eclipse.org
/security/cve-assignement/-/issues/67
web, issue-tracking, third-party-advisory
-
openwall.com
/lists/oss-security/2025/09/03/4
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-7962
advisory
-
github.com
/jakartaee/mail-api/issues/765
web
-
github.com
/eclipse-ee4j/angus-mail
package
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/290
web
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/290#note_5320539
web
Sources
- CVE List CVE-2025-7962
- GitHub Advisory GHSA-9342-92gg-6v29
- NVD CVE-2025-7962
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.