Skip to content
Fencer Intel
medium 6.1

CVE-2015-9097 json

Mail Gem CRLF Injection vulnerability

published 9y ago modified 4mo ago also GHSA-q86f-fmqf-qrf6 , EUVD-2017-0290

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems mail 2.5.5
  • ruby-mail Debian 14, Debian 13, Debian 12 2.6.1+dfsg1-1

debian advisories DEBIAN-CVE-2015-9097

Is CVE-2015-9097 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-9097 updated cvss 5.0

rubygem-mail: SMTP injection via recipient email addresses

  • Red Hat CloudForms Management Engine 5 ruby193-rubygem-mail Red Hat Software Collections ror40-rubygem-mail, ruby193-rubygem-mail, rh-ror41-rubygem-mail Red Hat Subscription Asset Manager rubygem-mail, ruby193-rubygem-mail
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections rh-ror42-rubygem-mail
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.40% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
rubygems mail
<2.5.5
2.5.5

Classification

Weakness
  • CWE-93 Improper Neutralization of CRLF Sequences

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.