{
  "cveId": "CVE-2026-54592",
  "url": "https://patchblox.com/security/cve/CVE-2026-54592",
  "summary": "CVE-2026-54592 is fixed in ruby-oj on 1 platform, first by DEBIAN-CVE-2026-54592, released July 3, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "ruby-oj: Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem",
  "description": "Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.3, Oj::Doc#each_child, when invoked recursively over a deeply nested JSON document, overflows a fixed-size stack buffer and aborts the process, leading to DoS.  In a two-step chain in ext/oj/fast.c, doc_each_child increments doc-\u003Ewhere past the where_path[MAX_STACK = 100] array with no bounds check and never restores it (the doc-\u003Ewhere-- is missing), so calling each_child recursively from inside the yield block drives doc-\u003Ewhere beyond the array. On the next entry  the function copies the path into the 800-byte stack-local buffer save_path[MAX_STACK]  using wlen = doc-\u003Ewhere - doc-\u003Ewhere_path, so when the previous recursive call left doc-\u003Ewhere past where_path[100] the wlen exceeds MAX_STACK and  the memcpy overflows save_path on the C stack; because the Oj::Doc parser imposes no JSON nesting-depth limit (relying on a C-stack pressure check), deeply nested attacker input reaches this path. This issue has been fixed in version 3.17.3.",
  "published": "2026-07-01T00:16:32Z",
  "severity": "high",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00328,
  "epssPercentile": 0.26013,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ruby-oj",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "3.14.2-1\u002Bdeb12u1",
      "fix": "DEBIAN-CVE-2026-54592",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-54592",
      "released": "2026-07-03T14:54:39Z"
    },
    {
      "platform": "linux",
      "product": "ruby-oj",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "3.16.3-1\u002Bdeb13u1",
      "fix": "DEBIAN-CVE-2026-54592",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-54592",
      "released": "2026-07-03T14:54:39Z"
    },
    {
      "platform": "linux",
      "product": "ruby-oj",
      "release": "Debian 14",
      "fixedVersion": "3.17.3-1",
      "fix": "DEBIAN-CVE-2026-54592",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-54592",
      "released": "2026-07-03T14:54:39Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}