# CVE-2025-27788: Out-of-bounds Read in Ruby JSON Parser

Source: https://junglewise.ai/threats/cve-2025-27788-out-of-bounds-read-in-ruby-json-parser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-12  
License: CC BY 4.0 with a link back

CVE-2025-27788 · Severity: low · CVSS 3.1 · Published 2025-03-12

Out-of-bounds Read in Ruby JSON Parser

Technologies: [json (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-json). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2025-27788 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-27788 being exploited in the wild.

**How severe is CVE-2025-27788?** Low severity, with a CVSS score of 3.1, published 12 March 2025.

**Which products and versions are affected?** json (RubyGems) ECOSYSTEM:introduced=2.10.0,fixed=2.10.2.

**Is there a fix for CVE-2025-27788?** Yes. json (RubyGems): upgrade to 2.10.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-27788?** Check whether you run json (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- json (RubyGems): upgrade to 2.10.2 or later

  ```sh
  bundle update json
  ```


## Affected products

- json (RubyGems) ECOSYSTEM:introduced=2.10.0,fixed=2.10.2

## Identifiers

- CVE-2025-27788
- GHSA-9m3q-rhmv-5q44

## Related threats

- [Ruby JSON heap-use-after-free in ResumableParser](https://junglewise.ai/threats/cve-2026-71847-ruby-json-heap-use-after-free-in-resumableparser)
- [Ruby JSON heap buffer overflow in JSON generator streaming](https://junglewise.ai/threats/cve-2026-54696-ruby-json-heap-buffer-overflow-in-json-generator-streaming)
- [Ruby JSON format string injection in JSON parser](https://junglewise.ai/threats/cve-2026-33210-ruby-json-format-string-injection-in-json-parser)
- [Unsafe object creation in json RubyGem](https://junglewise.ai/threats/cve-2020-10663-unsafe-object-creation-in-json-rubygem)
- [JSON gem has Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2013-0269-json-gem-has-improper-input-validation-vulnerability)
