{"id":81303,"date":"2026-07-01T02:54:23","date_gmt":"2026-06-30T23:24:23","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-54898-oj-use-after-free-in-ojparser-saj-callback-via-input-mutation\/"},"modified":"2026-07-01T02:54:23","modified_gmt":"2026-06-30T23:24:23","slug":"cve-2026-54898-oj-use-after-free-in-ojparser-saj-callback-via-input-mutation","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-54898-oj-use-after-free-in-ojparser-saj-callback-via-input-mutation\/","title":{"rendered":"CVE-2026-54898 &#8211; Oj: Use-After-Free in Oj::Parser SAJ Callback via Input Mutation"},"content":{"rendered":"<p>CVE ID :CVE-2026-54898<\/p>\n<p>  Published : June 30, 2026, 11:24 p.m. | 22\u00a0minutes ago<\/p>\n<p>  Description :Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2,Oj::Parser#parse is vulnerable to a heap use-after-free when a SAJ\/SAJ2 callback mutates the input JSON string during parsing. The C engine holds a raw const byte * pointer into the Ruby string&#8217;s internal buffer. If a callback (e.g. hash_start) resizes the string \u2014 for example by calling String#replace with a longer value \u2014 Ruby reallocates the string buffer and frees the old one. The C parser&#8217;s pointer is left dangling; the next character read at parser.c:607 is a use-after-free. This issue has been fixed in version 3.17.2.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-54898 Published : June 30, 2026, 11:24 p.m. | 22\u00a0minutes ago Description :Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2,Oj::Parser#parse is vulnerable to a heap use-after-free when a SAJ\/SAJ2 callback mutates the input JSON string during parsing. The C engine holds &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81303","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81303"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81303\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}