All vulnerabilities

Servers and applications

CVE-2014-4975

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.

Severity
Medium 5.0
Published
15 Nov 2014
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 2.1.2
  • Version 2.1.1
  • Version 2.1
  • Version 2.1-preview1
All 13 release lines
  • Every version up to 1.9.3
  • Version 2.0.0-preview1
  • Version 2.0.0-preview2
  • Version 2.0.0-rc1
  • Version 2.0.0-rc2
  • Version 2.0
  • Version 2.0.0-p0
  • Version 2.0.0-p195
  • Version 2.0.0-p247
  • Version 2.1-preview1
  • Version 2.1
  • Version 2.1.1
  • Version 2.1.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2014-4975
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2014-4975