Description
When a call-site passes a subject for an email that contains line-breaks in Apache Commons Email 1.0 through 1.4, the caller can add arbitrary SMTP headers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Email | 1.0 to 1.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache-commons-email | 1.5-3.10 | openSUSE-SU-2024:10619-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.commons:commons-email | >= 1.0, < 1.5 | 1.5 | GHSA-p7vm-phxx-g722 |
Advisories 1
- openSUSE-SU-2024:10619-1 apache-commons-email-1.5-3.10 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [announce@apache.org] 20170801 CVE-2017-9801: Apache Commons Email SMTP header injection vulnerabilty mailing-list
- 1039043 vdb-entry
- 100082 vdb-entry