---
title: "Ruby json vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/ruby/json
type: product
description: "Ruby json has 6 published CVEs, 0 in CISA KEV and 3 with public exploits."
updated: 2026-08-07
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Ruby json vulnerabilities

Vendor: [Ruby](https://radicalnotion.ai/vendor/ruby)

- **Published CVEs:** 6
- **In CISA KEV:** 0
- **With a public exploit:** 3
- **With a patch:** 6
- **Average CVSS:** 7.6
- **First CVE:** 2017-08-31
- **Latest CVE:** 2026-08-07
- **Ecosystems:** gem

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 1 |
| High | 4 |
| Medium | 0 |
| Low | 1 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-119](https://radicalnotion.ai/cwe/cwe-119) | Improper Restriction of Operations within the Bounds of a Memory Buffer | 1 |
| [CWE-122](https://radicalnotion.ai/cwe/cwe-122) | Heap-based Buffer Overflow | 1 |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 1 |
| [CWE-134](https://radicalnotion.ai/cwe/cwe-134) | Use of Externally-Controlled Format String | 1 |
| [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation | 1 |
| [CWE-416](https://radicalnotion.ai/cwe/cwe-416) | Use After Free | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2017 | 1 |
| 2018 | 0 |
| 2019 | 0 |
| 2020 | 1 |
| 2021 | 0 |
| 2022 | 0 |
| 2023 | 0 |
| 2024 | 0 |
| 2025 | 1 |
| 2026 | 3 |

## Affected versions (top 18 of 78)

| Version | Kind | CVEs |
| --- | --- | --- |
| 1.1.8 | exact | 2 |
| 1.2.0 | exact | 2 |
| 1.4.0 | exact | 2 |
| 1.4.1 | exact | 2 |
| 1.4.2 | exact | 2 |
| 1.4.3 | exact | 2 |
| 1.4.4-java | exact | 2 |
| 1.5.0 | exact | 2 |
| 1.5.1 | exact | 2 |
| 1.5.2 | exact | 2 |
| 1.5.3 | exact | 2 |
| 1.5.4 | exact | 2 |
| 2.10.0 \<= v \< 2.10.2 | range | 1 |
| 2.14.0 \<= v \< 2.15.2.1 | range | 1 |
| 2.16.0 \<= v \< 2.17.1.2 | range | 1 |
| 2.18.0 \<= v \< 2.19.2 | range | 1 |
| 2.20.0 \<= v \< 2.21.2 | range | 1 |
| 2.9.0 \<= v \< 2.19.9 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 2.10.2 | 1 |
| 2.15.2.1 | 1 |
| 2.17.1.2 | 1 |
| 2.19.2 | 1 |
| 2.19.9 | 1 |
| 2.21.2 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-71847 | Ruby JSON: JSON::ResumableParser#partial\_value dereferences a freed input buffer and crashes on truncated duplicate-key streams | high | 8.7 | No | Yes | Yes |
| CVE-2026-54696 | Ruby JSON: JSON generator heap buffer overflow when streaming to an IO | low | 3.7 | No | Yes | Yes |
| CVE-2026-33210 | Ruby JSON has a format string injection vulnerability | high | 8.3 | No | No | Yes |
| CVE-2025-27788 | Ruby JSON Parser has Out-of-bounds Read | high | 7.5 | No | No | Yes |
| CVE-2020-10663 | Unsafe object creation in json RubyGem | high | 7.5 | No | No | Yes |
| CVE-2017-14064 | ruby: Arbitrary heap exposure during a JSON.generate call | critical | 9.8 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does Ruby json have?

Ruby json has 6 published CVE records since 2017.

### How many Ruby json CVEs are in CISA KEV?

None of Ruby json's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Ruby json vulnerabilities?

Yes — 3 of Ruby json's CVEs have a known public exploit.

### Which versions of Ruby json are affected?

84 distinct Ruby json versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Ruby json CVEs?

Ruby json's CVEs most often map to these CWE weakness types: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-122 (Heap-based Buffer Overflow), CWE-125 (Out-of-bounds Read), CWE-134 (Use of Externally-Controlled Format String).

### How many critical Ruby json vulnerabilities are there?

Ruby json has 1 critical and 4 high-severity CVEs.

### What is the average severity of Ruby json CVEs?

The average CVSS base score across Ruby json's scored CVEs is 7.6.

## Other products from this vendor

- [Ruby](https://radicalnotion.ai/vendor/ruby/ruby) (47 CVEs)
- [rubygems](https://radicalnotion.ai/vendor/ruby/rubygems) (23 CVEs)
- [net-imap](https://radicalnotion.ai/vendor/ruby/net-imap) (10 CVEs)
- [rexml](https://radicalnotion.ai/vendor/ruby/rexml) (9 CVEs)
- [WEBrick](https://radicalnotion.ai/vendor/ruby/webrick) (7 CVEs)
- [cgi](https://radicalnotion.ai/vendor/ruby/cgi) (5 CVEs)
- [uri](https://radicalnotion.ai/vendor/ruby/uri) (4 CVEs)
- [openssl](https://radicalnotion.ai/vendor/ruby/openssl) (3 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/ruby/json). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
