{"id":"CVE-2015-9097","aliases":["GHSA-q86f-fmqf-qrf6"],"url":"https://o3.security/vulnerability/CVE-2015-9097","summary":"Mail Gem CRLF Injection vulnerability","details":"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.","published":"2017-06-12T20:29:00Z","modified":"2026-04-10T03:45:38.075694Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"mail","fixedVersion":"2.5.5"}],"fix":{"url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83","label":"mikel/mail@72befdc"},"references":[{"type":"ADVISORY","url":"http://openwall.com/lists/oss-security/2015/12/11/3"},{"type":"ADVISORY","url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf"},{"type":"ADVISORY","url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83"},{"type":"ADVISORY","url":"https://github.com/mikel/mail/pull/1097"},{"type":"ADVISORY","url":"https://github.com/rubysec/ruby-advisory-db/issues/215"},{"type":"ADVISORY","url":"https://hackerone.com/reports/137631"},{"type":"ADVISORY","url":"https://rubysec.com/advisories/mail-OSVDB-131677"},{"type":"ARTICLE","url":"http://openwall.com/lists/oss-security/2015/12/11/3"},{"type":"EVIDENCE","url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83"},{"type":"REPORT","url":"https://github.com/mikel/mail/pull/1097"},{"type":"REPORT","url":"https://github.com/rubysec/ruby-advisory-db/issues/215"},{"type":"REPORT","url":"https://hackerone.com/reports/137631"},{"type":"REPORT","url":"https://rubysec.com/advisories/mail-OSVDB-131677"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T03:45:38.075694Z"}}