eclipse-ee4j/angus-mail · Security
Jakarta Mail vulnerable to SMTP Injection
- GHSA ID
- GHSA-9342-92gg-6v29
- CVE ID
- CVE-2025-7962
- Severity
- medium
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v4
- 6 · 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
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.
CWEs
- CWE-147 · Improper Neutralization of Input Terminators
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-7962 ↗
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/67 ↗
- https://github.com/eclipse-ee4j/angus-mail/commit/269099b652a0a5c2fa140f1296a18f0fbbea0d44 ↗
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290 ↗
- http://www.openwall.com/lists/oss-security/2025/09/03/4 ↗
- https://github.com/jakartaee/mail-api/issues/765 ↗
- https://github.com/jakartaee/mail-api/pull/760 ↗
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/290#note_5320539 ↗
- https://github.com/advisories/GHSA-9342-92gg-6v29 ↗