Medium, CVSS 6.0MavenPublished
Jakarta Mail vulnerable to SMTP Injection
CVE-2025-7962 · GHSA-9342-92gg-6v29
- Affected
- Maven com.sun.mail:jakarta.mail < 1.6.8; >= 2.0.0, < 2.0.2
- Fixed in
- 2.0.21.6.8· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.0.2 or 1.6.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.