PT-2026-51088
CVE-2026-54902
·
Published
2026-06-19
·
Updated
2026-08-05
Description by
CVSS 4.0
6.3
MediumMetricsAV: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
Name of the Vulnerable Software and Affected Versions
Oj versions prior to 3.17.2
Description
Oj is a JSON parser and Object marshaller for Ruby. A Use-After-Free issue exists when using the
Oj::Parser in SAJ mode. The parser fails to protect cached object keys of 35 bytes or more from garbage collection. If a Ruby callback triggers garbage collection within the hash end function, the key string may be reclaimed while the C parser still maintains a pointer to it. Subsequent access to this freed string value can lead to a segmentation fault, potentially allowing control over the freed memory content.Recommendations
Update Oj to version 3.17.2 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾