Wiz Agents & Workflows are here

CVE-2025-27788
Ruby vulnerability analysis and mitigation

Overview

JSON is a JSON implementation for Ruby that contains a vulnerability identified as CVE-2025-27788. Starting in version 2.10.0 and prior to version 2.10.2, a specially crafted document could cause an out of bound read, most likely resulting in a crash. Versions prior to 2.10.0 are not vulnerable. The vulnerability was discovered and disclosed on March 12, 2025 (NVD).

Technical details

The vulnerability is classified as an Out-of-bounds Read (CWE-125) with a CVSS v3.1 base score of 7.5 (HIGH). The issue occurs in the C extension parser where improper validation of input can lead to an out-of-bounds memory read. The technical root cause involves the json_string_unescape function's handling of escape sequences in the parser (GitHub Commit).

Impact

When exploited, this vulnerability results in a crash of the application processing JSON data. The CVSS metrics indicate that while there is no impact on confidentiality or integrity, there is a high impact on availability (A:H). The vulnerability can be triggered remotely without requiring any privileges or user interaction (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 2.10.2 of the JSON gem. No known workarounds are available, making it critical for affected users to upgrade to the patched version (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34827HIGH7.5
  • RubyRuby
  • ruby-rack
NoYesApr 02, 2026
CVE-2026-34835MEDIUM4.8
  • RubyRuby
  • ruby-rack
NoYesApr 02, 2026
CVE-2026-32762MEDIUM4.8
  • RubyRuby
  • ruby-rack
NoYesApr 02, 2026
CVE-2026-26962MEDIUM4.8
  • RubyRuby
  • rack
NoYesApr 02, 2026
CVE-2026-34831MEDIUM4.8
  • RubyRuby
  • rack
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management