CVE catalog

CVE-2012-2140

ruby-mail: CVE-2012-2140

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
4.47% · Oct 27, 2026

The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-mailsid2.9.1-1fixed
Debianruby-mailforky2.9.1-1fixed
Debianruby-mailtrixie2.8.1+dfsg1-2fixed
Debianruby-mailbookworm2.7.1+dfsg1-2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-mailsourcesid2.4.4-1not yet assignedNot reportedNot reported
Debianruby-mailsourceforky2.4.4-1not yet assignedNot reportedNot reported
Debianruby-mailsourcetrixie2.4.4-1not yet assignedNot reportedNot reported
Debianruby-mailsourcebookworm2.4.4-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-mail]Fixed
    Details (2)
    • 2.7.1+dfsg1-2 · all · bookworm

      Fixed · Fixed: 2.4.4-1

      dsa · ruby-mail · debian · bookworm; dsa · ruby-mail · debian · 12

    • 2.7.1+dfsg1-2 · all · bookworm

      Fixed · Fixed: 2.4.4-1

      dsa · ruby-mail · debian · bookworm; dsa · ruby-mail · debian · 12

[Debian 13 (Trixie)]

  • [ruby-mail]Fixed
    Details (2)
    • 2.8.1+dfsg1-2 · all · trixie

      Fixed · Fixed: 2.4.4-1

      dsa · ruby-mail · debian · 13

    • 2.8.1+dfsg1-2 · all · trixie

      Fixed · Fixed: 2.4.4-1

      dsa · ruby-mail · debian · 13

Observed:

References