Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Oj (the RubyGems package oj) is affected in versions before 3.17.2. Disabling symbol_keys on a reused Oj::Parser instance frees its key cache without clearing the pointer, so a later parse call can read freed memory, a heap use-after-free. The source does not describe what an attacker can achieve beyond this, and it does not say how an attacker would reach the parser. Upgrade to oj 3.17.2, which is the fixed version.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.3 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0041, the 35th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:21 UTC First seen by agentprime
- 31 Oct 2026, 14:21 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-2cw7-v8ff-p88r
- OSV: GHSA-2cw7-v8ff-p88r
- github.com/ohler55/oj/security/advisories/GHSA-2cw7-v8ff-p88r
- nvd.nist.gov/vuln/detail/CVE-2026-54899
- github.com/ohler55/oj
- github.com/rubysec/ruby-advisory-db/blob/master/gems/oj/CVE-2026-54899.yml
- www.cve.org/CVERecord/SearchResults?query=CVE-2026-54899