Every CVE Search/ Get API key

CVE-2017-9801

Improper Input Validation in Apache Commons Email

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

6.04%Up 3.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2017-9801
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-9801
Updated
2026-11-02
EUVDEUVD-2022-4710 No score

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.

Record
EUVD-2022-4710
Updated
2026-11-03
GitHub AdvisoriesGHSA-p7vm-phxx-g722 7.5

Improper Input Validation in Apache Commons Email

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.

Record
GHSA-p7vm-phxx-g722
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-20
Updated
2026-11-02
OSVGHSA-p7vm-phxx-g722 7.5

Improper Input Validation in Apache Commons Email

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.

Record
GHSA-p7vm-phxx-g722
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-20
Updated
2026-11-02
OSVMGASA-2017-0322 No score

Updated apache-commons-email packages fix security vulnerability

In apache-commons-email before 1.5, when a call-site passes a subject for an email that contains line-breaks, the caller can add arbitrary SMTP headers (CVE-2017-9801).

Record
MGASA-2017-0322
Updated
2026-11-02
OSVopenSUSE-SU-2024:10619-1 No score

apache-commons-email-1.5-3.10 on GA media

These are all security issues fixed in the apache-commons-email-1.5-3.10 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10619-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.commons:commons-email
Maven
1.0 to 1.4
1.5
org.apache.commons:commons-email
Maven
1.0 up to 1.5, plus listed versions
1.11.21.31.3.11.3.21.3.31.4
1.5
apache-commons-email
Mageia:5
before 1.3.1-4.1.mga5
1.3.1-4.1.mga5
apache-commons-email
Mageia:6
before 1.3.1-10.1.mga6
1.3.1-10.1.mga6
apache-commons-email
openSUSE:Tumbleweed
before 1.5-3.10
1.5-3.10

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-9801 is a high vulnerability (CVSS 7.5) in Apache Commons Email, published August 7, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.04%, the 93rd percentile. Fixed in org.apache.commons:commons-email 1.5.

References

Show 4 moreShow less
MoveEnter Open