Live threats

All CVEs / Mail Project

CVE-2015-9097Mail Project Mail

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mail.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mail_projectmail≤ 2.5.4

Official sources

References

Links published by the sources. Open them with care.