# CVE-2012-4466

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2013-04-25 · Modified: 2024-08-06
- Record: https://cvemate.com/vulnerability/CVE-2012-4466 · JSON: https://cvemate.com/vulnerability/CVE-2012-4466/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:P/A:N
- EPSS: 2.715%, percentile 86.487%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ruby-lang ruby: 1.8.7 \| 1.8.7:p160 \| 1.8.7:p17 \| 1.8.7:p173 \| 1.8.7:p174 \| 1.8.7:p22 \| 1.8.7:p248 \| 1.8.7:p249 \| 1.8.7:p299 \| 1.8.7:p301 \| 1.8.7:p302 \| 1.8.7:p330 \| 1.8.7:p334 \| 1.8.7:p352 \| 1.8.7:p357 \| 1.8.7:p358 \| 1.8.7:p370 \| 1.8.7:p71 \| 1.8.7:p72 \| 1.8.7:preview1 \| 1.8.7:preview2 \| 1.8.7:preview3 \| 1.8.7:preview4 \| 1.9.3 \| 1.9.3:p0 \| 1.9.3:p125 \| 1.9.3:p194 \| 2.0 \| 2.0.0 \| 2.0.0:p0 \| 2.0.0:preview1 \| 2.0.0:preview2 \| 2.0.0:rc1 \| 2.0.0:rc2

## References

- <http://www.openwall.com/lists/oss-security/2012/10/02/4>
- <http://www.mandriva.com/security/advisories?name=MDVSA-2013:124>
- <http://www.openwall.com/lists/oss-security/2012/10/03/9>
- <https://bugzilla.redhat.com/show_bug.cgi?id=862614>
- <http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html>
- <http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/>
- <http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068>
- <https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294>

---

Data as of 2026-12-05T03:50:17.903Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
