SMTP command injection in Jakarta Mail



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-7962
CWE-ID CWE-77
Exploitation vector Network
Public exploit N/A
Vulnerable software
Jakarta Mail
Universal components / Libraries / Software for developers

Vendor Eclipse

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Command Injection

EUVDB-ID: #VU114346

Risk: Medium

CVSSv4.0: 2.7 [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 - Command injection

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Jakarta Mail: 1.6.0 - 2.0.1

CPE2.3 External links

https://gitlab.eclipse.org/security/cve-assignement/-/issues/67


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###