CVE-2025-27788
HIGH 7.5CVSS 3.1Out-of-bounds Read in Ruby JSON Parser
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.
- Published
- 12 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-125
- Also known as
- GHSA-9m3q-rhmv-5q44
- Sources
- NVDJSONOSV GHSA-9m3q-rhmv-5q44JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | javascript_object_notationcpe:2.3:a:ruby-lang:javascript_object_notation:*:*:*:*:*:ruby:*:* |
>= 2.10.0 , < 2.10.2 | 2.10.2 |
| OSV | RubyGems | json | >= 2.10.0, < 2.10.2 | 2.10.2 |
References
- https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf · Patch, WEB
- https://github.com/ruby/json/releases/tag/v2.10.2 · Release Notes, WEB
- https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27788 · ADVISORY
- https://github.com/ruby/json · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2025-27788.yml · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 12 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Mar 2025)