Security mailing lists by PureSourceCode

CVE-2014-4975

MEDIUM 5.0CVSS 2.0

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.

Published
15 Nov 2014
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
<= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
= 2.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.1:-:*:*:*:*:*:*
= 2.1
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*
= 2.1
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:*
= 2.1.1
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:*
= 2.1.2
NVD redhat enterprise_linux_desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_hpc_node
cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
= 12.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*
= 14.10

References

History

  • 25 Nov 2026 20:18 UTC · NVD: first stored (published 15 Nov 2014)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.