PT-2026-51085 · Ohler55+3 · Oj+1
CVSS v4.0
6.3
Medium
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Oj versions prior to 3.17.2
Description
A heap use-after-free occurs when disabling
symbol keys on a reused Oj::Parser instance. When the symbol keys setting is changed from true to false, the opt symbol keys set function frees the internal key cache using cache free but fails to clear the pointer. Consequently, the subsequent call to the parse function attempts to read from the freed cache via cache intern, leading to a use-after-free condition.Recommendations
Update to version 3.17.2 or later.
Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Oj
Ruby-Oj