GitHub Advisoryadvisory · Maven

GHSA-9342-92gg-6v29 Jakarta Mail vulnerable to SMTP Injection

MEDIUM Published 2025-07-21 Modified 2026-04-16 Official page ↗
Aliases
CVE-2025-7962
Ecosystem
Maven
Packages
org.eclipse.angus:smtp, com.sun.mail:jakarta.mail
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-147
Reviewed
2025-08-06

Affected packages

• Maven org.eclipse.angus:smtp: < 2.0.4 → fixed in 2.0.4 • Maven com.sun.mail:jakarta.mail: < 1.6.8 → fixed in 1.6.8 • Maven com.sun.mail:jakarta.mail: >= 2.0.0, < 2.0.2 → fixed in 2.0.2

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.

Related

Alias · CVE (1)

  • CVE-2025-7962 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… vulnerability

Weakness · CWE (1)

  • CWE-147 Improper Neutralization of Input Terminators weakness

References