CVE-2015-9097
Mail Gem CRLF Injection vulnerability
Reported by mitre · Published June 12, 2017
mail is fixed in 2.5.5 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| RubyGems | 2.5.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| mail_project | ||
| RubyGems | 0, 2.6.0.alpha0, 2.7.0.alpha0 |
Timeline
- Jun 12, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 10, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Oct 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-9097
vulnetix vdb fixes CVE-2015-9097
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-9097/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart