CVE-2025-7962

com.sun.mail/jakarta.mail: Jakarta Mail SMTP Injection Vulnerability

Published Jul 21, 2025 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22141 Jakarta Mail vulnerable to SMTP Injection
Github GHSA Github GHSA GHSA-9342-92gg-6v29 Jakarta Mail vulnerable to SMTP Injection
History
Type Values Removed Values Added
Description In Jakarta Mail 2.0.2 it is possible to preform a SMTP Injection by utilizing the \r and \n UTF-8 characters to separate different messages. 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.
Type Values Removed Values Added
First Time appeared Eclipse angus Mail
CPEs cpe:2.3:a:eclipse:angus_mail:*:*:*:*:*:*:*:*
Vendors & Products Eclipse angus Mail
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse jakarta Mail
CPEs cpe:2.3:a:eclipse:jakarta_mail:*:*:*:*:*:*:*:*
Vendors & Products Eclipse
Eclipse jakarta Mail
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Title com.sun.mail/jakarta.mail: Jakarta Mail SMTP Injection Vulnerability
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
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. In Jakarta Mail 2.0.2 it is possible to preform a SMTP Injection by utilizing the \r and \n UTF-8 characters to separate different messages.
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-147
References
Metrics cvssV4_0

{'score': 6, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Jun 23, 2026, 10:26 AM
Reserved
Jul 21, 2025, 5:10 PM
Status
Modified
Published
Jul 21, 2025, 6:15 PM
Modified
Jun 23, 2026, 12:16 PM
Severity
Moderate
Public date
Jul 21, 2025, 5:22 PM