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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2025-03-12T13:51:53.348Z
- Modified: 2026-09-10T03:49:48.468Z
- Also known as: GHSA-9m3q-rhmv-5q44
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ruby json: >= 2.10.0, < 2.10.2
- json (RubyGems): from 2.10.0 before 2.10.2
- ruby-lang javascript_object_notation: from 2.10.0  before 2.10.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44> (third-party-advisory, web)
- <https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf> (patch, web)
- <https://github.com/ruby/json/releases/tag/v2.10.2> (release-notes, 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)

## Sources

- CVE List: [CVE-2025-27788](https://www.cve.org/CVERecord?id=CVE-2025-27788), CVE Terms of Use, modified 2025-03-12
- GitHub Advisory Database: [GHSA-9m3q-rhmv-5q44](https://github.com/advisories/GHSA-9m3q-rhmv-5q44), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-27788](https://nvd.nist.gov/vuln/detail/CVE-2025-27788), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27788 · Whole record: https://cve.day/CVE-2025-27788.json · Rebuilt by cve.day 2026-11-25T22:58:55.211Z
