CVE-2015-9097Mail Project Mail
Medium 6.1 No auth needed
Follow: this CVE · Mail Project · Mail Project Mail We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jun 12, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-93
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mail.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | mail |
< 2.5.5 |
2.5.5 |
gem "mail", ">= 2.5.5" |
Per OSV / GitHub Advisories (GHSA-q86f-fmqf-qrf6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mail_project | ≤ 2.5.4 |
Official sources
References
Links published by the sources. Open them with care.
- openwall.com Mailing List Third Party Advisory
- www.mbsd.jp Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- hackerone.com Issue Tracking Third Party Advisory
- rubysec.com Issue Tracking Vendor Advisory