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)

ArtifactAffected versionsFixed 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.

DepthDependent 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

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.