Command Injection in Jakarta Mail - CVE-2025-7962
Published: August 21, 2025
Vulnerability identifier: #VU114346
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-7962
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Eclipse
Affected software:
Jakarta Mail
Jakarta Mail
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary SMTP commands on the system.
The vulnerability exists due to insufficient input validation when handling CR-LF characters in UTF-8 encoding. A remote attacker can pass specially crafted input to the application and execute arbitrary SMTP commands on the server.
How to mitigate CVE-2025-7962
Install updates from vendor's website.