{"id":"CVE-2018-1294","aliases":["EUVD-2022-5307","GHSA-v7cm-w955-pj6g","MGASA-2018-0136","UBUNTU-CVE-2018-1294"],"status":"published","title":"Improper Input Validation Apache Commons Email","description":"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).","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02765,"percentile":0.86399,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2018-02-24T23:25:24Z","modified":"2026-06-17T01:50:56Z","fixes":[{"ecosystem":"Maven","package":"org.apache.commons:commons-email","fixed_in":["1.5"],"sources":["ghsa","osv"]},{"ecosystem":"Mageia:6","package":"apache-commons-email","fixed_in":["1.5-1.mga6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.commons:commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.commons:commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5"}]}],"versions":["1.1","1.2","1.3","1.3.1","1.3.2","1.3.3","1.4"]},{"source":"osv","ecosystem":"Mageia:6","package":"apache-commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-1.mga6"}]}]}],"products":[{"vendor":"apache","product":"commons_email"},{"vendor":"apache software foundation","product":"apache commons email"}],"references":[{"url":"http://seclists.org/oss-sec/2018/q1/107","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Mitigation","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1294","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v7cm-w955-pj6g"},{"url":"https://advisories.mageia.org/MGASA-2018-0136.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22473","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/6BK3RDWBGNZHZ6LDJ34DAWVCBE2UGUE3/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-1294","tags":["report"]},{"url":"https://marc.info/?i=CAF8HOZ+J3NkaywfbHuQpHxK9ZXeT4=4Vs9rOwCDiUdnt1QA1Yw@mail.gmail.com","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1294","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1294","description":"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).","status":"published","published":"2018-03-20T17:00:00Z","modified":"2024-09-16T22:31:23.62Z","updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2022-5307","description":"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).","status":"published","published":"2018-03-20T17:00:00Z","modified":"2024-09-16T22:31:23Z","updated_at":"2026-11-03T00:55:02.001238Z"}],"ghsa":[{"id":"GHSA-v7cm-w955-pj6g","title":"Improper Input Validation Apache Commons Email","description":"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).","status":"published","published":"2022-05-14T01:28:26Z","modified":"2023-01-27T05:02:21Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2018-1294","description":"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).","status":"published","published":"2018-03-20T17:29:00.207Z","modified":"2026-06-17T01:50:56.4Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:24.264003Z"}],"osv":[{"id":"GHSA-v7cm-w955-pj6g","title":"Improper Input Validation Apache Commons Email","description":"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).","status":"published","published":"2022-05-14T01:28:26Z","modified":"2023-11-08T03:59:51.656421Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:56.981655Z"},{"id":"UBUNTU-CVE-2018-1294","description":"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).","status":"withdrawn","published":"2018-03-20T17:29:00Z","modified":"2025-07-17T16:53:44Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"MGASA-2018-0136","title":"Updated apache-commons-email packages fix security vulnerability","description":"Apache Commons-Email, from version 1.0 to 1.4 inclusive, does not properly\nvalidate bounce addresses. If a user of Commons-Email (typically an\napplication programmer) passes unvalidated input as the so-called \"Bounce\nAddress\", and that input contains line-breaks, then the email details\n(recipients, contents, etc.) might be manipulated (CVE-2018-1294).\n","status":"published","published":"2018-02-24T23:25:24Z","modified":"2026-04-16T06:23:40.026480985Z","updated_at":"2026-11-02T15:49:40.442238Z"}]}}
