CVE-2026-54900
MEDIUMOj: Negative-Size memcpy in Oj::Parser create_id Attribute Handling
Title source: cnaExploitation Summary
EIP tracks 2 public exploits for CVE-2026-54900. PoCs published by HermesNA-1, HORKimhab.
AI-analyzed exploit summary This repository contains an auto-generated placeholder module for CVE-2026-54900, a heap corruption vulnerability in the Oj (Optimized JSON) Ruby gem versions prior to 3.17.2. The code includes only a basic connectivity check and a TODO stub for exploit implementation, with no actual exploit logic or technical details about the vulnerability mechanics.
Description
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, when in usual mode with create_id enabled, Oj::Parser#parse is vulnerable to heap corruption via a negative-size memcpy. When a JSON object key is exactly 65,535 bytes long, an integer truncation in form_attr (usual.c:63) converts the length to -1 before passing it to memcpy. This causes memcpy to copy SIZE_MAX bytes (interpreted as a huge size_t), corrupting heap memory and crashing the process. The issue has been fixed in version 3.17.2.
Exploits (2)
This repository contains an auto-generated placeholder module for CVE-2026-54900, a heap corruption vulnerability in the Oj (Optimized JSON) Ruby gem versions prior to 3.17.2. The code includes only a basic connectivity check and a TODO stub for exploit implementation, with no actual exploit logic or technical details about the vulnerability mechanics.
This repository contains no actual exploit code, technical details, or proof-of-concept for CVE-2026-54900. It only includes a README with donation requests, legal disclaimers, and placeholder instructions without any functional implementation.
References (1)
Scores
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X