rubygem-mail: SMTP injection via recipient email addresses
Published Jun 12, 2017
6.1
MEDIUMCVSS 3.0
EPSS 3.40%
Description
The mail gem before 2.5.5 for Ruby (aka A Really Ruby Mail Library) is vulnerable to SMTP command injection via CRLF sequences in a RCPT TO or MAIL FROM command, as demonstrated by CRLF sequences immediately before and after a DATA substring.
Affected products
No data.
- ≤ 2.5.4
No data.
CloudForms Management Engine 5
ruby193-rubygem-mail
Will not fix
Red Hat Software Collections
rh-ror41-rubygem-mail
Will not fix
Red Hat Software Collections
rh-ror42-rubygem-mail
Not affected
Red Hat Software Collections
ror40-rubygem-mail
Will not fix
Red Hat Software Collections
ruby193-rubygem-mail
Will not fix
Red Hat Subscription Asset Manager
ruby193-rubygem-mail
Will not fix
Red Hat Subscription Asset Manager
rubygem-mail
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5 | ruby193-rubygem-mail | Will not fix | n/a |
| Red Hat Software Collections | rh-ror41-rubygem-mail | Will not fix | n/a |
| Red Hat Software Collections | rh-ror42-rubygem-mail | Not affected | n/a |
| Red Hat Software Collections | ror40-rubygem-mail | Will not fix | n/a |
| Red Hat Software Collections | ruby193-rubygem-mail | Will not fix | n/a |
| Red Hat Subscription Asset Manager | ruby193-rubygem-mail | Will not fix | n/a |
| Red Hat Subscription Asset Manager | rubygem-mail | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 3.40% (0.03396) | 88.44th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.36% (0.03358) | 87.11th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.88% (0.00881) | 73.27th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.26% (0.02256) | 74.30th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.88% (0.00881) | 73.76th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.51% (0.00510) | 77.36th | v3 (v2023.03.01) |
| Apr 25, 2024 | 0.23% (0.00234) | 61.01th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.21% (0.00208) | 57.97th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.17% (0.00174) | 53.47th | v3 (v2023.03.01) |
| May 8, 2023 | 0.51% (0.00510) | 73.10th | v3 (v2023.03.01) |
| Mar 28, 2023 | 0.42% (0.00423) | 70.30th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.59% (0.00586) | 74.86th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.56% (0.02564) | 82.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.56% (0.02564) | 80.25th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.56% (0.02564) | 61.75th | v2 (v2022.01.01) |
References (12)
- http://openwall.com/lists/oss-security/2015/12/11/3 x_refsource_MISCMailing ListThird Party Advisory
- http://www.mbsd.jp/Whitepaper/smtpi.pdf x_refsource_MISCThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2015-9097 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1293598 Issue Tracking
- https://github.com/advisories/GHSA-q86f-fmqf-qrf6 Advisory
- https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83 x_refsource_MISCExploitThird Party Advisory
- https://github.com/mikel/mail/pull/1097 x_refsource_MISCIssue TrackingThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/issues/215 x_refsource_MISCIssue TrackingThird Party Advisory
- https://hackerone.com/reports/137631 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2015-9097
- https://rubysec.com/advisories/mail-OSVDB-131677 x_refsource_MISCIssue TrackingVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2015-9097
| Link | Providers | Tags |
|---|---|---|
| http://openwall.com/lists/oss-security/2015/12/11/3 | x_refsource_MISCMailing ListThird Party Advisory | |
| http://www.mbsd.jp/Whitepaper/smtpi.pdf | x_refsource_MISCThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2015-9097 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1293598 | Issue Tracking | |
| https://github.com/advisories/GHSA-q86f-fmqf-qrf6 | Advisory | |
| https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83 | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/mikel/mail/pull/1097 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://github.com/rubysec/ruby-advisory-db/issues/215 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://hackerone.com/reports/137631 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-9097 | ||
| https://rubysec.com/advisories/mail-OSVDB-131677 | x_refsource_MISCIssue TrackingVendor Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2015-9097 |
Change history (0)
No recorded changes yet.