SecurityContext

CVE-2026-54900: Oj - Denial of Service

  • Cve: CVE-2026-54900
  • Name: Oj - Denial of Service
  • Description: Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, when in usual mode with create_id enabled, Oj::Parser#parse is vulnerable to heap corruption via a negative-size memcpy. When a JSON object key is exactly 65,535 bytes long, an integer truncation in form_attr (usual.c:63) converts the length to -1 before passing it to memcpy. This causes memcpy to copy SIZE_MAX bytes (interpreted as a huge size_t), corrupting heap memory and crashing the process. The issue has been fixed in version 3.17.2.
  • Impact: Attackers can cause heap corruption leading to process crash and denial of service.
  • Remediation: Upgrade to version 3.17.2 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00516
  • Epss percentile: 0.44538
  • Assignee: [email protected]
  • Published at: 2026-07-01T00:16:33Z
  • Age in days: 146
  • Modified at: 2026-10-25T17:10:00Z
  • Public exploits total: 1
  • References total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-54900
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
https://github.com/HORKimhab/CVE-2026-54900poc-in-github2026-07-25

References

UrlSourceTags
https://github.com/ohler55/oj/security/advisories/GHSA-9cv6-qcjw-4grxnvd

Projects

RepositoryLink kindsIndexedUrl
ohler55/ojpackage, security_advisoryyes/v1/repositories/ohler55/oj

Index

  • Repositories: 25
  • Repositories high signal: 17
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-07-25
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts