CVE-2012-4466

Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the name_err_mesg_to_str API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005.

Published: 2013-04-25 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-4466 is rated Moderate Risk (50.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.62%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-4466

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 1.69% 2.62% +0.93%
2 2026-06-04 2.19% 1.69% -0.50%
3 2026-06-03 2.19%

Full EPSS history (17 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-4466

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-4466

OS Trackers for CVE-2012-4466

vendor priority summary link
redhat low https://access.redhat.com/security/cve/CVE-2012-4466
suse low CVE-2012-4466 severity low: SUSE including 10 source package names (ruby-1.8.7.p357-0.9.17.1, ruby-1.8.7.p357-0.9.9.1, …), 12 product×package rows across 3 product lines (SUSE Linux Enterprise Server 11 SP3, SUSE Linux Enterprise Server 11 SP4, SUSE Linux Enterprise Software Development Kit 11 SP4): Fixed 12. https://www.suse.com/security/cve/CVE-2012-4466/
ubuntu medium CVE-2012-4466 medium priority: Ubuntu including 3 source packages (ruby1.8, ruby1.9, ruby1.9.1), 22 status rows across 8 suites (hardy, lucid, maverick, natty, oneiric, precise, quantal, upstream): released 7, DNE 6, not-affected 6, needs-triage 2, ignored 1. https://ubuntu.com/security/CVE-2012-4466

Affected software / configurations for CVE-2012-4466

Vendor Product Version Raw CPE
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p160:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p17:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p173:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p174:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p248:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p249:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p299:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p301:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p302:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p330:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p334:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p352:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p357:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p358:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p370:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:preview1:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:preview2:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:preview3:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:preview4:*:*:*:*:*:*
ruby-lang ruby 1.9.3 cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
ruby-lang ruby 1.9.3 cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*
ruby-lang ruby 1.9.3 cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*
ruby-lang ruby 1.9.3 cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*
ruby-lang ruby 2.0 cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*

References for CVE-2012-4466

cvelogic Threat Intelligence