CVE-2014-4975: Canonical Ubuntu Linux
Medium severity, CVSS 5.0. EPSS: 3.5% chance of exploitation in the next 30 days.
Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.
Affected products
- Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 14.10 only
- Debian Debian Linux: version 7.0 only; version 8.0 only
- Red Hat Enterprise Linux Desktop: version 7.0 only
- Red Hat Enterprise Linux Hpc Node: version 7.0 only
- Red Hat Enterprise Linux Server: version 7.0 only
- Red Hat Enterprise Linux Workstation: version 7.0 only
- Ruby-Lang Ruby: up to and including 1.9.3; version 2.0 only; version 2.0.0 only; version 2.1 only; version 2.1.1 only; version 2.1.2 only
Published 2014-11-15. Last modified 2026-06-17.