{"id":"CVE-2025-27788","aliases":["EUVD-2025-7805","GHSA-9m3q-rhmv-5q44","UBUNTU-CVE-2025-27788"],"status":"published","title":"Ruby JSON Parser has Out-of-bounds Read","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0072,"percentile":0.54388,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2025-03-12T13:51:53Z","modified":"2026-10-28T02:31:14Z","fixes":[{"ecosystem":"RubyGems","package":"json","fixed_in":["2.10.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"last_affected":"2.10.1"},{"fixed":"2.10.2"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.2"}]}],"versions":["2.10.0","2.10.1"]}],"products":[{"vendor":"ruby","product":"json"},{"vendor":"ruby-lang","product":"javascript_object_notation"}],"references":[{"url":"https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44","tags":["x_refsource_CONFIRM","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/ruby/json/releases/tag/v2.10.2","tags":["x_refsource_MISC","Release Notes","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27788","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2025-27788.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9m3q-rhmv-5q44"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27788.json","tags":["advisory"]},{"url":"https://github.com/ruby/json","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-27788","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-27788","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-27788","title":"Ruby JSON Parser has Out-of-bounds Read","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.","status":"published","published":"2025-03-12T13:51:53.348Z","modified":"2025-03-12T14:04:35.186Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:32:42.411662Z"}],"euvd":[{"id":"EUVD-2025-7805","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.","status":"published","published":"2025-03-12T13:51:53Z","modified":"2025-03-12T14:04:35Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:53:06.438267Z"}],"ghsa":[{"id":"GHSA-9m3q-rhmv-5q44","title":"Out-of-bounds Read in Ruby JSON Parser ","description":"### Impact\n\nA specially crafted document could cause an out of bound read, most likely resulting in a crash.\n\nVersions 2.10.0 and 2.10.1 are impacted. Older versions are not.\n\n### Patches\n\nVersion 2.10.2 fixes the problem.\n\n### Workarounds\n\nNone.","status":"published","published":"2025-03-12T15:35:23Z","modified":"2025-03-13T21:41:41Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:38:34.992855Z"}],"nvd":[{"id":"CVE-2025-27788","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.","status":"published","published":"2025-03-12T14:15:16.77Z","modified":"2026-06-17T09:04:13.66Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:10:53.93104Z"}],"osv":[{"id":"CVE-2025-27788","title":"Ruby JSON Parser has Out-of-bounds Read","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.","status":"published","published":"2025-03-12T13:51:53.348Z","modified":"2026-10-28T02:31:14.994035502Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"GHSA-9m3q-rhmv-5q44","title":"Out-of-bounds Read in Ruby JSON Parser ","description":"### Impact\n\nA specially crafted document could cause an out of bound read, most likely resulting in a crash.\n\nVersions 2.10.0 and 2.10.1 are impacted. Older versions are not.\n\n### Patches\n\nVersion 2.10.2 fixes the problem.\n\n### Workarounds\n\nNone.","status":"published","published":"2025-03-12T15:35:23Z","modified":"2026-09-10T03:49:48.468812643Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"UBUNTU-CVE-2025-27788","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.","status":"withdrawn","published":"2025-03-12T14:15:00Z","modified":"2025-07-14T06:36:17.084988Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:26.330196Z"}]}}
