Back
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…
Medium5.0EPSS 3.5%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.5% · top 11% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (14)
- [oss-security] 20140709 Fwd: [ruby-core:63604] [ruby-trunk - Bug #10019] [Open] segmentation fault/buffer overrun in pack.c (encodes) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2014:1912 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 68474 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2014:1913 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1118158 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-3157 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://advisories.mageia.org/MGASA-2014-0472.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-2397-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://bugs.ruby-lang.org/issues/10019 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2015:129 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2014:1914 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- ruby-cve20144975-bo(94706) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2014-4975)Record last updated .