CVE-2015-9097: Mail Project Mail

Medium severity, CVSS 6.1. EPSS: 3.4% probability of exploitation activity in the next 30 days.

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

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 2.5.5"; check the vendor's advisory for the release that fixes it.

Affected products

Affected packages

Published 2017-06-12. Last modified 2026-06-17.