Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2014-4975

ruby: off-by-one stack-based buffer overflow in the encodes() function

Overview

Published
15 Nov 2014
Modified
6 May 2026
Medium CVE
0 Registry packages
44 OS packages
2 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

5 · MEDIUM

CVSS 2.0 base score, scored by NVD.

Access vector
Network
Access complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

Weakness: CWE-119

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 35 fixes

Oracle Linux 1 release · 9 packages

fixed 9
rubygem-io-console rubygem-rake rubygem-bigdecimal rubygem-json rubygem-psych ruby +3
Oracle Linux fixes for CVE-2014-4975
ReleasePackageFixed in
7 rubygem-io-console 0.4.2-22.el7_0
7 rubygem-rake 0.9.6-22.el7_0
7 rubygem-bigdecimal 1.2.0-22.el7_0
7 rubygem-json 1.7.7-22.el7_0
7 rubygem-psych 2.0.0-22.el7_0
7 ruby +5 2.0.0.353-22.el7_0

3 more rows

Red Hat 1 release · 26 packages

fixed 26
ruby193-rubygem-io-console rubygem-io-console ruby200-rubygem-io-console ruby193-rubygem-rake rubygem-rake ruby200-rubygem-rake +20
Red Hat fixes for CVE-2014-4975
ReleasePackageFixed inAdvisory
7 ruby193-rubygem-io-console 0:0.3-50.el7 RHSA-2014:1913
7 rubygem-io-console 0:0.4.2-22.el7_0 RHSA-2014:1912
7 ruby200-rubygem-io-console 0:0.4.2-24.el7 RHSA-2014:1914
7 ruby193-rubygem-rake 0:0.9.2.2-50.el7 RHSA-2014:1913
7 rubygem-rake 0:0.9.6-22.el7_0 RHSA-2014:1912
7 ruby200-rubygem-rake 0:0.9.6-24.el7 RHSA-2014:1914

20 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.