You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "henricook (via GitHub)" <gi...@apache.org> on 2026/02/11 16:01:10 UTC
[PR] [EMAIL] Fix CVE-2025-7962: Bump com.sun.mail:jakarta.mail to 1.6.8 [commons-email]
henricook opened a new pull request, #395:
URL: https://github.com/apache/commons-email/pull/395
## Summary
- Bump `com.sun.mail:jakarta.mail` from 1.6.7 to 1.6.8
Version 1.6.7 is vulnerable to [CVE-2025-7962](https://nvd.nist.gov/vuln/detail/CVE-2025-7962), an SMTP injection flaw allowing attackers to inject arbitrary SMTP commands via `\r\n` characters in UTF-8 encoded input.
## Binary compatibility
The fix in 1.6.8 is purely internal - a private `validateCommand()` method was added to `SMTPTransport.sendCommand()`. No public API was changed. The only other changes in 1.6.8 are an internal NTLM auth fix and logging improvements.
Diff of the security fix: [eclipse-ee4j/mail@cc9b954](https://github.com/eclipse-ee4j/mail/commit/cc9b954f3816f18f1b96dd50b1f8f51b3116462d)
## References
- https://nvd.nist.gov/vuln/detail/CVE-2025-7962
- https://github.com/advisories/GHSA-9342-92gg-6v29
- https://bugs.openjdk.org/browse/JDK-8024695
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [EMAIL] 1.x backport: Fix CVE-2025-7962: Bump com.sun.mail:jakarta.mail (AKA org.eclipse.angus:jakarta.mail) to 1.6.8 [commons-email]
Posted by "henricook (via GitHub)" <gi...@apache.org>.
henricook commented on PR #395:
URL: https://github.com/apache/commons-email/pull/395#issuecomment-3889165666
> The CVE refers to the Eclipse Angus libraries, not com.sun.mail, so the PR title is inappropriate.
I've updated the title and body to reflect what I think I've understood as a confusing situation where jakarta-mail now lives in the eclipse namespace.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [EMAIL] 1.x backport: Fix CVE-2025-7962: Bump com.sun.mail:jakarta.mail to 1.6.8 [commons-email]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #395:
URL: https://github.com/apache/commons-email/pull/395#issuecomment-3888056613
The CVE refers to the Eclipse Angus libraries, not com.sun.mail, so the PR title is inappropriate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump com.sun.mail:jakarta.mail from 1.6.7 to 1.6.8. [commons-email]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #395:
URL: https://github.com/apache/commons-email/pull/395
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [EMAIL] 1.6 Patch: Fix CVE-2025-7962: Bump com.sun.mail:jakarta.mail to 1.6.8 [commons-email]
Posted by "henricook (via GitHub)" <gi...@apache.org>.
henricook commented on PR #395:
URL: https://github.com/apache/commons-email/pull/395#issuecomment-3885390774
@garydgregory I hope this looks right for the backport, please LMK
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump com.sun.mail:jakarta.mail from 1.6.7 to 1.6.8. [commons-email]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #395:
URL: https://github.com/apache/commons-email/pull/395#issuecomment-3890587376
@henricook
PR merged, thank you! 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [EMAIL] 1.x backport: Fix CVE-2025-7962: Bump com.sun.mail:jakarta.mail to 1.6.8 [commons-email]
Posted by "henricook (via GitHub)" <gi...@apache.org>.
henricook commented on PR #395:
URL: https://github.com/apache/commons-email/pull/395#issuecomment-3889152828
> @henricook
>
> I fixed the Jacva 25+ failures the same way I did in master.
>
> Please rebase on git master and I'll kick off another build.
>
> The CVE refers to the Eclipse Angus libraries, not com.sun.mail, so the PR title is inappropriate.
Appreciate your work holding my hand on my first contrib here Gary! I've rebased now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org