Intel

AIKIDO-2026-11155

oj is vulnerable to Out-of-bounds Read

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 11, 2026
June 11, 2026

59

CVE Score

Medium

Out-of-bounds Read

Are you affected? Scan for Free

TL;DR

The C extension intern.c path interned symbol names from the wrong buffer pointer when JSON keys exceeded the inline buffer size. This can read unintended memory when parsing JSON that triggers that code path. The release also bounds Oj::Doc child-iterator depth to block stack exhaustion during deeply nested traversal. The patch uses the correct allocated buffer and enforces iterator depth limits.

How do I fix this?

Upgrade the oj library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 3.17.2

Fixed in 3.17.3

Background info

oj is vulnerable to Out-of-bounds Read in versions 0.0.1 - 3.17.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea