Vulnerabilities · 2014 · Ruby-lang
CVE-2014-4975
Ruby-lang Ruby vulnerability
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
Ruby, Enterprise Linux Desktop, Enterprise Linux Hpc Node, Enterprise Linux Server, Enterprise Linux Workstation, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778 · Vendor Advisory
- bugs.ruby-lang.org/issues/10019 · Vendor Advisory
- advisories.mageia.org/MGASA-2014-0472.html · Third Party Advisory
- rhn.redhat.com/errata/RHSA-2014-1912.html · Third Party Advisory
- rhn.redhat.com/errata/RHSA-2014-1913.html · Third Party Advisory
- rhn.redhat.com/errata/RHSA-2014-1914.html · Third Party Advisory
- www.debian.org/security/2015/dsa-3157 · Third Party Advisory
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2014-4975
- cve.org/CVERecord?id=CVE-2014-4975
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.