MODERATE 7.5
CVE-2025-7962
Jakarta Mail vulnerable to SMTP Injection
Description
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.sun.mail » jakarta.mail | < 1.6.8>= 2.0.0, < 2.0.2 | 1.6.8, 2.0.2 |
| org.eclipse.angus » smtp | < 2.0.4 | 2.0.4 |
Blast radius
2affected artifacts
25affected versions
7,304dependent artifacts (est.)
662,073dependent versions
51% of the dependent artifacts (3,729) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 44,007 |
| 2 hops | 278,361 |
| 3 hops | 193,002 |
| 4 hops | 114,310 |
| 5 hops | 24,275 |
| 6 hops | 8,118 |
Most used dependents
- org.springframework.boot » spring-boot-starter-mail1,351 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- com.sun.xml.ws » jaxws-rt951 usages
- com.atlassian.jira » jira-api893 usages
- com.atlassian.confluence » confluence724 usages
- org.apache.commons » commons-email593 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- com.atlassian.jira » jira-core554 usages
- org.sakaiproject.kernel » sakai-kernel-api504 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.springframework.boot » spring-boot-starter-oauth2-client446 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-7962
- Webhttps://github.com/jakartaee/mail-api/issues/765
- Webhttps://github.com/jakartaee/mail-api/pull/760
- Webhttps://github.com/eclipse-ee4j/angus-mail/commit/269099b652a0a5c2fa140f1296a18f0fbbea0d44
- Packagehttps://github.com/eclipse-ee4j/angus-mail
- Webhttps://gitlab.eclipse.org/security/cve-assignement/-/issues/67
- Webhttps://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290
- Webhttps://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290#note_5320539
- Webhttp://www.openwall.com/lists/oss-security/2025/09/03/4
