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

Published Mar 12, 2025
·
Updated

Impact

A specially crafted document could cause an out of bound read, most likely resulting in a crash.

Versions 2.10.0 and 2.10.1 are impacted. Older versions are not.

Patches

Version 2.10.2 fixes the problem.

Workarounds

None.

Other sources

JSON is a JSON implementation for Ruby. 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. Version 2.10.2 fixes the problem. No known workarounds are available.

MITRE

Affected Software

3 affected componentsFixes available
rubygems/json>=2.10.0<=2.10.1
2.10.2
Ruby JSON>=2.10.0<2.10.2
ruby-lang Javascript Object Notation Ruby>=2.10.0 <2.10.2

Event History

Mar 12, 2025
CVE Published
via MITRE·01:51 PM
Data Sourced
via MITRE·01:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:35 PM
Mar 15, 57195
Event
via FIRST·08:47 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27788?

The severity of CVE-2025-27788 is considered to be moderate due to its potential to cause crashes.

2

How do I fix CVE-2025-27788?

To fix CVE-2025-27788, upgrade the Ruby JSON gem to version 2.10.2 or later.

3

What versions are affected by CVE-2025-27788?

CVE-2025-27788 affects Ruby JSON versions from 2.10.0 up to, but not including, 2.10.2.

4

What kind of vulnerabilities does CVE-2025-27788 introduce?

CVE-2025-27788 introduces an out of bounds read vulnerability that may lead to application crashes.

5

Is version 2.10.0 of Ruby JSON safe from CVE-2025-27788?

No, version 2.10.0 of Ruby JSON is not safe and is vulnerable to CVE-2025-27788.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203