
CVE catalog
CVE-2026-54901
Oj (Optimized JSON) is a JSON parser and Object…
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj::Parser in usual mode does not mark array_class and hash_class references during garbage collection, leading to Use-After-Free. If GC runs after the class is assigned but before a parse, the class object is reclaimed, leaving the parser holding a dangling VALUE. The subsequent parse call dereferences the freed object, producing a segfault. This issue has been fixed in version 3.17.2.
- Severity
- Medium · CVSS 6.3
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "ruby-oj",
"status": "fixed",
"release": "sid",
"version": "3.17.7-1"
},
{
"name": "ruby-oj",
"status": "fixed",
"release": "forky",
"version": "3.17.7-1"
},
{
"name": "ruby-oj",
"status": "vulnerable",
"release": "trixie",
"version": "3.16.3-1"
},
{
"name": "ruby-oj",
"status": "fixed",
"release": "trixie-security",
"version": "3.16.3-1+deb13u1"
},
{
"name": "ruby-oj",
"status": "vulnerable",
"release": "bookworm",
"version": "3.14.2-1"
},
{
"name": "ruby-oj",
"status": "fixed",
"release": "bookworm-security",
"version": "3.14.2-1+deb12u1"
}
],
"fixed_versions": [
{
"bug": null,
"name": "ruby-oj",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3.17.3-1"
},
{
"bug": null,
"name": "ruby-oj",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "3.17.3-1"
},
{
"bug": null,
"name": "ruby-oj",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "3.16.3-1+deb13u1"
},
{
"bug": null,
"name": "ruby-oj",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "3.14.2-1+deb12u1"
}
],
"distribution_packages": [
{
"name": "ruby-oj",
"ecosystem": "cpe",
"fixed_version": "not yet fixed"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ruby-oj]Unknown
Details (2)
3.14.2-1· amd64 · bookwormAffected · Fixed:
3.14.2-1+deb12u1nvd · ruby-oj · debian · bookworm; nvd · ruby-oj · debian · 12
3.14.2-1· arm64 · bookwormAffected · Fixed:
3.14.2-1+deb12u1nvd · ruby-oj · debian · bookworm; nvd · ruby-oj · debian · 12
[Debian 13 (Trixie)]
- [ruby-oj]Unknown
Details (3)
3.16.3-1+b5· amd64 · trixieAffected · Fixed:
3.16.3-1+deb13u1nvd · ruby-oj · debian · 13
3.16.3-1+b5· arm64 · trixieAffected · Fixed:
3.16.3-1+deb13u1nvd · ruby-oj · debian · 13
3.16.3-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
3.16.3-1+deb13u1nvd · ruby-oj · debian · 13
Observed:
References
- [https://github.com/ohler55/oj/security/advisories/GHSA-vwm4-62gf-x745]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54901]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54901]
- [https://security-tracker.debian.org/tracker/CVE-2026-54901]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54901.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]