CVE-2018-1294 json
Improper Input Validation Apache Commons Email
published 2018-03-20 8 y ago modified 2026-06-17 4 mo ago also GHSA-v7cm-w955-pj6g , EUVD-2022-5307
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
If a user of Apache Commons Email (typically an application programmer) passes unvalidated input as the so-called "Bounce Address", and that input contains line-breaks, then the email details (recipients, contents, etc.) might be manipulated. Mitigation: Users should upgrade to Commons-Email 1.5. You can mitigate this vulnerability for older versions of Commons Email by stripping line-breaks from data, that will be passed to Email.setBounceAddress(String).
Patch / fix
- maven org.apache.commons:commons-email 1.5
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1294 updated cvss 5.4
apache-commons-email: Improper validation in Email.setBounceAddress() can allow for email modification
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.77% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.commons:commons-email | <1.5 |
1.5 |
Affected products
- Apache Software Foundation Apache Commons Email
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
seclists.org
/oss-sec/2018/q1/107
mailing-list, web, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1294
advisory
Sources
- CVE List CVE-2018-1294
- GitHub Advisory GHSA-v7cm-w955-pj6g
- NVD CVE-2018-1294
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.