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-54900: CWE-190: Integer Overflow or Wraparound in ohler55 oj

0
Medium
VulnerabilityCVE-2026-54900gcvecve-2026-54900cwe-190cwe-787
Published: 06/30/2026 (06/30/2026, 23:34:05 UTC)
Source: GCVE Database
Vendor/Project: ohler55
Product: oj

Description

Oj (Optimized JSON) is a Ruby gem for JSON parsing and object marshalling. Versions prior to 3.17.2 contain an integer overflow vulnerability in the usual mode with create_id enabled. Specifically, when a JSON object key is exactly 65,535 bytes long, an integer truncation causes a negative size to be passed to memcpy, resulting in heap corruption and process crash. This 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
None
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:N/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, 01:37:34 UTC

Technical Analysis

CVE-2026-54900 is an integer overflow or wraparound vulnerability in the ohler55 oj Ruby gem before version 3.17.2. When parsing JSON in usual mode with create_id enabled, a JSON object key of length 65,535 bytes triggers an integer truncation in form_attr (usual.c:63), converting the length to -1. This negative value is passed to memcpy, which interprets it as a very large size_t (SIZE_MAX), causing a heap corruption and crashing the process. The vulnerability is resolved in version 3.17.2.

Potential Impact

Exploitation of this vulnerability leads to heap corruption and a crash of the process using the vulnerable oj gem. This can cause denial of service. There is no indication of code execution or data disclosure from the provided data.

Mitigation Recommendations

Upgrade oj to version 3.17.2 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated.

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
Gcve Source
db.gcve.eu

Threat ID: 6a446e6e27e9c79719c50908

Added to database: 07/01/2026, 01:33:34 UTC

Last enriched: 07/01/2026, 01:37:34 UTC

Last updated: 07/01/2026, 01:51:19 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