Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.
CVE-2017-14064
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-14. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 52(Track)EG Risk 52/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation9% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 9%
- EPSS %ILE
- 95%
- KEV
- Not listed
Published
August 31, 2017
Last Modified
May 13, 2026
Advisory Details (10)
Auto-updated Jul 26, 2026commit 8f782fd8e181 (flori/json)
Patch available: flori/json v2.12.0 (contains commit 8f782fd8e181)
https://github.com/flori/json/commit/8f782fd8e181d9cfe9387ded43a5ca9692266b85Bug #13853: Backport request r58323 - Ruby - Ruby Issue Tracking System
https://bugs.ruby-lang.org/issues/13853Affected: Red Hat Enterprise Linux 7.
https://access.redhat.com/errata/RHSA-2018:0378Vendor Advisories for CVE-2017-14064(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:8838Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:7307Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:7305Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Patch Availability(10)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby2.3-tcltk (2.3.1-2~16.04.5) @ xenial | 2026-05-20 | ubuntu |
| ubuntu | ruby1.9.3 (1.9.3.484-2ubuntu1.5) @ trusty | 2026-05-20 | ubuntu |
| ubuntu | ruby2.3-tcltk (2.3.1-2~16.04.10) @ xenial | 2026-05-20 | ubuntu |
| redhat | ruby4-0-main-4.0.0-33.3.hum1 | 2026-04-17 | redhat |
| redhat | ruby3-3-main-3.3.10-23.1.hum1 | 2026-04-09 | redhat |
| redhat | ruby3-4-main-3.4.8-31.1.hum1 | 2026-04-09 | redhat |
| redhat | rh-ruby22-ruby-0:2.2.9-19.el7 | 2018-03-26 | redhat |
| redhat | rh-ruby23-ruby-0:2.3.6-67.el7 | 2018-03-26 | redhat |
| redhat | ruby-0:2.0.0.648-33.el7_4 | 2018-02-28 | redhat |
| redhat | rh-ruby24-ruby-0:2.4.2-86.el7 | 2017-12-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2017:3485LOW2017-03-02
RHSA-2017:3485 — Low
- Red HatRHSA-2018:0378LOW2017-03-02
RHSA-2018:0378 — Low
- Red HatRHSA-2018:0583LOW2017-03-02
RHSA-2018:0583 — Low
- Red HatRHSA-2018:0585LOW2017-03-02
RHSA-2018:0585 — Low
- UbuntuUSN-3439-1LOW
Ruby vulnerabilities
- UbuntuUSN-3528-1LOW
Ruby vulnerabilities
- UbuntuUSN-3685-1LOW
Ruby vulnerabilities
Data Freshness Timeline
(refreshed 11× in last 7d / 36× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 113 total refreshes for this CVE.
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-25 14:13 UTCEPSS rescore
- 2026-07-25 06:11 UTCOSV refresh
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:27 UTCEG score recompute
- 2026-07-22 22:06 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-08 01:05 UTCOSV refresh
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 12:55 UTCOSV refresh
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-30 20:53 UTCOSV refresh
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 08:22 UTCVendor advisory
- 2026-05-20 08:22 UTCGHSA enrichment
- 2026-05-20 04:12 UTCVendor advisory
- 2026-05-20 04:12 UTCGHSA enrichment
- 2026-05-20 00:03 UTCVendor advisory
- 2026-05-20 00:03 UTCGHSA enrichment
- 2026-05-19 19:54 UTCVendor advisory
Frequently asked(5)
What is CVE-2017-14064?
When was CVE-2017-14064 disclosed?
Is CVE-2017-14064 actively exploited?
What is the CVSS score of CVE-2017-14064?
How do I remediate CVE-2017-14064?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2017-14064
Is Your Infrastructure Affected by CVE-2017-14064?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.