cve.bz

CVE-2014-4975

no score yetEPSS 3.5%

No CVSS score yet. EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
3.5% (unchanged from 3.5% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2014-4975 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-4975?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-4975?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-4975 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubythrough 1.9.3
ruby-lang:ruby2.0
ruby-lang:ruby2.0.0
ruby-lang:ruby2.0.0:p0
ruby-lang:ruby2.0.0:p195
ruby-lang:ruby2.0.0:p247
ruby-lang:ruby2.0.0:preview1
ruby-lang:ruby2.0.0:preview2
ruby-lang:ruby2.0.0:rc1
ruby-lang:ruby2.0.0:rc2
ruby-lang:ruby2.1
ruby-lang:ruby2.1:preview1
ruby-lang:ruby2.1.1
ruby-lang:ruby2.1.2
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_hpc_node7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0
debian:debian_linux7.0
debian:debian_linux8.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux14.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0ruby1.9.11.9.2.0-2+deb6u3DLA-200-1
Debian7ruby1.9.11.9.3.194-8.1+deb7u3DSA-3157-1
Ubuntu14.04:LTSruby1.9.11.9.3.484-2ubuntu1.1UBUNTU-CVE-2014-4975 USN-2397-1
Ubuntu14.04:LTSruby2.02.0.0.484-1ubuntu2.1UBUNTU-CVE-2014-4975 USN-2397-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreruby, ruby-doc, ruby-irb and 4 more0:2.0.0.353-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-bigdecimal0:1.2.0-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-io-console0:0.4.2-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-json0:1.7.7-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-minitest0:4.3.2-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-psych0:2.0.0-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-rake0:0.9.6-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygem-rdoc0:4.0.0-22.el7_0RHSA-2014:1912
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morerubygems, rubygems-devel0:2.0.14-22.el7_0RHSA-2014:1912
Red Hathummingbird:1ruby3.3, ruby3.3-doc, ruby3.3-libs and 3 more0:3.3.10-23.1.hum1RHSA-2026:7305
Red Hathummingbird:1ruby3.4, ruby3.4-doc, ruby3.4-libs and 3 more0:3.4.8-31.1.hum1RHSA-2026:7307
Red Hathummingbird:1ruby4.0, ruby4.0-doc, ruby4.0-libs and 3 more0:4.0.0-33.3.hum1RHSA-2026:8838
34 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP1 and 6 moreruby2.12.1.9-15.1SUSE-SU-2017:1067-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5 and 6.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7ruby-0:2.0.0.353-22.el7_0Fixed 2014-11-26RHSA-2014:1912
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6ruby193-ruby-0:1.9.3.484-50.el6Fixed 2014-11-26RHSA-2014:1913
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6ruby200-ruby-0:2.0.0.353-24.el6Fixed 2014-11-26RHSA-2014:1914
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUSruby193-ruby-0:1.9.3.484-50.el6Fixed 2014-11-26RHSA-2014:1913
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUSruby200-ruby-0:2.0.0.353-24.el6Fixed 2014-11-26RHSA-2014:1914
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUSruby193-ruby-0:1.9.3.484-50.el6Fixed 2014-11-26RHSA-2014:1913
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUSruby200-ruby-0:2.0.0.353-24.el6Fixed 2014-11-26RHSA-2014:1914
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUSruby193-ruby-0:1.9.3.484-50.el6Fixed 2014-11-26RHSA-2014:1913
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUSruby200-ruby-0:2.0.0.353-24.el6Fixed 2014-11-26RHSA-2014:1914
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7ruby193-ruby-0:1.9.3.484-50.el7Fixed 2014-11-26RHSA-2014:1913
CloudForms Management Engine 5mingw-rubyWill not fix
CloudForms Management Engine 5ruby193-rubyWill not fix
OpenShift Enterprise 1ruby193-rubyWill not fix
Red Hat Enterprise Linux 5rubyNot affected
Red Hat Enterprise Linux 6rubyNot affected
Red Hat Hardened ImagesrubyAffected
Red Hat OpenStack Platform 3ruby193-rubyWill not fix
Red Hat OpenStack Platform 4ruby193-rubyWill not fix
Red Hat Satellite 6rubygem-rakeNot affected
Red Hat Subscription Asset Managerruby193-rubyWill not fix
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-4975.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON