Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2014-4975

published

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

Title from Red Hat VEX

Published
15 Nov 2014, 20:00:00 UTC
Updated
06 Aug 2024, 11:34:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Debian squeeze ruby1.9.1 Advisory build 1.9.2.0-2+deb6u3 DLA-200-1
Oracle Linux 6 ruby193-rubyx86_64 Advisory build 0:1.9.3.484-50.0.1.el6 ELSA-2014-1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubysrc Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Debian wheezy ruby1.9.1 Advisory build 1.9.3.194-8.1+deb7u3 DSA-3157-1
Oracle Linux 6 ruby193-ruby-develx86_64 Advisory build 0:1.9.3.484-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-ruby-docx86_64 Advisory build 0:1.9.3.484-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-ruby-irbx86_64 Advisory build 0:1.9.3.484-50.0.1.el6 ELSA-2014-1913
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 6 ruby193-ruby-libsx86_64 Advisory build 0:1.9.3.484-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-ruby-tcltkx86_64 Advisory build 0:1.9.3.484-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygem-bigdecimalx86_64 Advisory build 0:1.1.0-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygem-io-consolex86_64 Advisory build 0:0.3-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygem-jsonx86_64 Advisory build 0:1.5.5-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygem-minitestx86_64 Advisory build 0:2.5.1-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygem-rakex86_64 Advisory build 0:0.9.2.2-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygem-rdocx86_64 Advisory build 0:3.9.5-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygemsx86_64 Advisory build 0:1.8.23-50.0.1.el6 ELSA-2014-1913
Oracle Linux 6 ruby193-rubygems-develx86_64 Advisory build 0:1.8.23-50.0.1.el6 ELSA-2014-1913
Oracle Linux 7 rubyx86_64 Advisory build 0:2.0.0.353-22.el7_0 ELSA-2014-1912
Oracle Linux 7 ruby-develx86_64 Advisory build 0:2.0.0.353-22.el7_0 ELSA-2014-1912
Oracle Linux 7 ruby-docx86_64 Advisory build 0:2.0.0.353-22.el7_0 ELSA-2014-1912
Oracle Linux 7 ruby-irbx86_64 Advisory build 0:2.0.0.353-22.el7_0 ELSA-2014-1912
Oracle Linux 7 ruby-libsx86_64 Advisory build 0:2.0.0.353-22.el7_0 ELSA-2014-1912
Oracle Linux 7 ruby-tcltkx86_64 Advisory build 0:2.0.0.353-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-bigdecimalx86_64 Advisory build 0:1.2.0-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-io-consolex86_64 Advisory build 0:0.4.2-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-jsonx86_64 Advisory build 0:1.7.7-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-minitestx86_64 Advisory build 0:4.3.2-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-psychx86_64 Advisory build 0:2.0.0-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-rakex86_64 Advisory build 0:0.9.6-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygem-rdocx86_64 Advisory build 0:4.0.0-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygemsx86_64 Advisory build 0:2.0.14-22.el7_0 ELSA-2014-1912
Oracle Linux 7 rubygems-develx86_64 Advisory build 0:2.0.14-22.el7_0 ELSA-2014-1912
Red Hat Enterprise Linux RHEL-6 ruby193-rubyx86_64 Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-ruby-debuginfox86_64 Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-ruby-develx86_64 Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-ruby-docx86_64 Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-ruby-irbnoarch Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-ruby-libsx86_64 Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-ruby-tcltkx86_64 Advisory build 1.9.3.484-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygem-bigdecimalx86_64 Advisory build 1.1.0-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygem-io-consolex86_64 Advisory build 0.3-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygem-jsonx86_64 Advisory build 1.5.5-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygem-minitestnoarch Advisory build 2.5.1-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygem-rakenoarch Advisory build 0.9.2.2-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygem-rdocx86_64 Advisory build 3.9.5-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygemsnoarch Advisory build 1.8.23-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby193-rubygems-develnoarch Advisory build 1.8.23-50.el6 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-6 ruby200-rubysrc Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubyx86_64 Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-ruby-debuginfox86_64 Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-ruby-develx86_64 Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-ruby-docnoarch Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-ruby-irbnoarch Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-ruby-libsx86_64 Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-ruby-tcltkx86_64 Advisory build 2.0.0.353-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-bigdecimalx86_64 Advisory build 1.2.0-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-io-consolex86_64 Advisory build 0.4.2-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-jsonx86_64 Advisory build 1.7.7-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-minitestnoarch Advisory build 4.3.2-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-psychx86_64 Advisory build 2.0.0-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-rakenoarch Advisory build 0.9.6-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygem-rdocnoarch Advisory build 4.0.0-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygemsx86_64 Advisory build 2.0.14-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-6 ruby200-rubygems-develnoarch Advisory build 2.0.14-24.el6 RHSA-2014:1914
Red Hat Enterprise Linux RHEL-7 rubyppc64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 rubys390x Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 rubysrc Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 rubyx86_64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-debuginfoi686 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-debuginfoppc Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-debuginfoppc64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-debuginfos390 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-debuginfos390x Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-debuginfox86_64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-develppc64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-devels390x Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-develx86_64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-docnoarch Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-irbnoarch Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-libsi686 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-libsppc Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-libsppc64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-libss390 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-libss390x Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-libsx86_64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-tcltkppc64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-tcltks390x Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby-tcltkx86_64 Advisory build 2.0.0.353-22.el7_0 RHSA-2014:1912
Red Hat Enterprise Linux RHEL-7 ruby193-rubysrc Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-rubyx86_64 Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-ruby-debuginfox86_64 Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-ruby-develx86_64 Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-ruby-docx86_64 Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-ruby-irbnoarch Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-ruby-libsx86_64 Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-ruby-tcltkx86_64 Advisory build 1.9.3.484-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-rubygem-bigdecimalx86_64 Advisory build 1.1.0-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-rubygem-io-consolex86_64 Advisory build 0.3-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-rubygem-jsonx86_64 Advisory build 1.5.5-50.el7 RHSA-2014:1913
Red Hat Enterprise Linux RHEL-7 ruby193-rubygem-minitestnoarch Advisory build 2.5.1-50.el7 RHSA-2014:1913

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

14

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c255fe2b6779af4319ea24417ca4abd79a962318933dafb9231fbd8be1e374e3
Ingested
23 Sep 2026, 07:40:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected