CVE-2026-54502Disclosure

LOWCVSS 6.3 · MEDIUM

Signal is active with 3 mentions in latest observed window

Immediate actions

  • Patch affected systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj.dump is vulnerable to a stack-based buffer overflow when a large :indent value is provided by the developer. fill_indent in dump.h calls memset(indent_str, ' ', (size_t)opts->indent) without validating the size. When opts->indent is set to INT_MAX (2,147,483,647), the (size_t) cast preserves the large value and memset writes 2 GB into the stack-allocated out buffer (4,184 bytes), corrupting the stack and crashing the process. This issue has been fixed in version 3.17.2.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-121

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Threat summary

  • Patch or workaround signal is available
  • 3 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 3 signals
  • Disclosure: 2 classified signals
  • General: 1 classified signal
  • 3 total mentions across 1 day

Deep dive

Activity timeline3 mentions / 1d
01223Mentions · 2026-07-01: 3Patch / Workaround · 2026-07-01: 1Technical Details · 2026-07-01: 307-01
Signal classification2 categories
Disclosure
266.7%
General
133.3%
Referenced assets3 URLs
Full discourse3 posts
  • Vulmon Vulnerability Feed@VulmonFeeds
    General

    CVE-2026-54502 Stack-Based Buffer Overflow in Oj Ruby Gem Versions Prior to 3.17.2 https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-54502

    Post summary

    The text only announces a stack‑based buffer overflow CVE for the Oj Ruby gem, without any concrete evidence of exploitation, patches, or PoC details.

    00000117
    4.1K followersView on X
  • Infoflowcloud@infoflowcloud
    Disclosure

    🚨*CVE* CVE-2026-54502 Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj.dump is vulnerable to a stack-based buffer overflow… https://www.cve.org/CVERecord?id=CVE-2026-54502 ----- Traducción: CVE-2026-54502 Oj … http://infoflow.cloud`

    Post summary

    CVE‑2026‑54502 involves a stack‑based buffer overflow in the Oj Ruby gem (versions < 3.17.2), with no PoC, exploit, or patch information provided.

    0000043
    90 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-54502 Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj.dump is vulnerable to a stack-based buffer overflow… https://www.cve.org/CVERecord?id=CVE-2026-54502

    Post summary

    CVE-2026-54502 is a stack‑based buffer overflow in the Oj Ruby gem’s Oj.dump function for versions before 3.17.2, and the text indicates that newer releases (≥3.17.2) contain the corrective patch.

    00000667
    57.7K followersView on X

Explore more