Vulnerabilities · 2025 · Ruby-lang
CVE-2025-27788
Ruby-lang Javascript Object Notation vulnerability
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.
Affected products
Javascript Object Notation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Javascript Object Notation runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf · Patch
- github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44 · Third Party Advisory
- github.com/ruby/json/releases/tag/v2.10.2
- nvd.nist.gov/vuln/detail/CVE-2025-27788
- github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2025-27788.yml
- github.com/advisories/GHSA-9m3q-rhmv-5q44
- nvd.nist.gov/vuln/detail/CVE-2025-27788
- cve.org/CVERecord?id=CVE-2025-27788
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442CVE-2024-49761All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.