Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. oj
  4. ›
  5. CVE-2026-54500

CVE-2026-54500: Oj: intern.c form_attr (uninitialized stack read)

June 19, 2026

Oj.load in :object mode reads uninitialized stack memory (and, for long keys, reads out of bounds) when parsing a JSON object whose key is 254 bytes or longer. The interned bytes can surface to the caller, disclosing process stack memory.

References

  • github.com/advisories/GHSA-fm7p-mprw-wjm9
  • github.com/ohler55/oj/security/advisories/GHSA-fm7p-mprw-wjm9
  • nvd.nist.gov/vuln/detail/CVE-2026-54500

Code Behaviors & Features

Detect and mitigate CVE-2026-54500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.17.3

Fixed versions

  • 3.17.3

Solution

Upgrade to version 3.17.3 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read
  • CWE-908: Use of Uninitialized Resource

Source file

gem/oj/CVE-2026-54500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.