Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54899: CWE-416: Use After Free in ohler55 oj

0
Medium
VulnerabilityCVE-2026-54899cvecve-2026-54899cwe-416
Published: 06/30/2026 (06/30/2026, 23:03:15 UTC)
Source: CVE Database V5
Vendor/Project: ohler55
Product: oj

Description

A use-after-free vulnerability exists in the oj Ruby gem (Optimized JSON) prior to version 3.17.2. This occurs when the symbol_keys option is disabled on a reused Oj::Parser instance, leading to a heap use-after-free condition. The issue is fixed in version 3.17.2.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

oj
pkg:gem/oj
Affected versions
<3.17.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 14:52:59 UTC

Technical Analysis

CVE-2026-54899 describes a heap use-after-free vulnerability in the oj Ruby gem before version 3.17.2. When the symbol_keys option is toggled from true to false on a reused Oj::Parser instance, the internal key cache is freed but the pointer is not cleared. Subsequent parse calls access the freed cache, causing a use-after-free condition. This vulnerability is classified as CWE-416 (Use After Free) and has a CVSS 4.0 score of 6.3 (medium severity). The issue has been resolved in oj version 3.17.2.

Potential Impact

Exploitation of this vulnerability could lead to memory corruption due to use-after-free, potentially causing application crashes or other undefined behavior. The CVSS score indicates a medium severity with network attack vector and low complexity, but requires partial attack complexity and no privileges or user interaction.

Mitigation Recommendations

Upgrade oj to version 3.17.2 or later, where this use-after-free vulnerability is fixed. No other mitigation is indicated or required according to the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T13:49:33.555Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a45260e27e9c79719982d48

Added to database: 07/01/2026, 14:37:02 UTC

Last enriched: 07/01/2026, 14:52:59 UTC

Last updated: 07/01/2026, 14:52:59 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses