{"items":[{"id":"NVI-00012147","kind":"vulnerability","title":"Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-2cw7-v8ff-p88r","CVE-2026-54899"],"plain_summary":"GitHub lists this reviewed advisory for oj. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-6dbaba2bf768eef82761ba3874a7ed69"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-25T17:10:00.197Z","value":"6.3 MEDIUM (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-4cf47b6a1baaa8917d7bfe1ea3694bff"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.407%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.3499. Missing scores are unknown.","source_id":"sr-6dbaba2bf768eef82761ba3874a7ed69"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-b6b4edba3bef4f78373e43c6ed69c574","url":"https://github.com/advisories/GHSA-2cw7-v8ff-p88r","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-2cw7-v8ff-p88r","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:16.959Z"},{"id":"sr-4cf47b6a1baaa8917d7bfe1ea3694bff","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54899","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-54899","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-03T22:35:50.402Z"},{"id":"sr-6dbaba2bf768eef82761ba3874a7ed69","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-54899","publisher":"FIRST EPSS","observed_at":"2026-11-01T01:39:43.081Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-b6b4edba3bef4f78373e43c6ed69c574"],"technology":"oj","known_exclusions":[],"conditions_summary":"### Summary\n\nDisabling `symbol_keys` on a reused `Oj::Parser` instance triggers a heap use-after-free. When `symbol_keys` is toggled from `true` to `false`, `opt_symbol_keys_set` frees the internal key cache (`cache_free`) but does not clear the pointer. The next `parse` call reads from the freed cache via `cache_intern`, producing a use-after-free.\n\n### Version\n\n- **Software**: oj gem\n- **Affected**: all versions with `ext/oj/usual.c`\n- **Latest tested**: 3.17.1 (confirmed present)\n\n### Details\n\n`ext/oj/usual.c`, `opt_symbol_keys_set`:\n\n```c\n// usual.c:1043–1051\nif (symbol_keys) {\n    d->key_cache = cache_create(...);   // allocate\n} else {\n    cache_free(d->key_cache);           // free — but d->key_cache pointer not NULLed\n}\n```\n\nOn the next parse call, `cache_key` → `cache_intern` reads from `d->key_cache` which now points to freed memory.\n\nASAN report:\n```\n==145265==ERROR: AddressSanitizer: heap-use-after-free on address 0x50b00001a318\nREAD of size 8 at 0x50b00001a318 thread T0\n    #0 cache_intern            /ext/oj/cache.c:328\n    #1 cache_key               /ext/oj/usual.c:161\n    #2 close_object            /ext/oj/usual.c:285\n    #3 parse                   /ext/oj/parser.c:6","public_affected_ranges":["< 3.17.2"]}],"null_published_at":"2026-11-05T19:10:23.254Z","source_updated_at":"2026-10-06T19:52:38.000Z","source_disclosed_at":"2026-06-19T19:34:30.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-11-01T00:59:16.959Z"},{"id":"NVI-00012147","kind":"vulnerability","title":"Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2cw7-v8ff-p88r","CVE-2026-54899"],"plain_summary":"GitHub lists this reviewed advisory for oj. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-6dbaba2bf768eef82761ba3874a7ed69"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.407%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.3499. Missing scores are unknown.","source_id":"sr-6dbaba2bf768eef82761ba3874a7ed69"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-b6b4edba3bef4f78373e43c6ed69c574","url":"https://github.com/advisories/GHSA-2cw7-v8ff-p88r","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-2cw7-v8ff-p88r","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:16.959Z"},{"id":"sr-6dbaba2bf768eef82761ba3874a7ed69","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-54899","publisher":"FIRST EPSS","observed_at":"2026-11-01T01:39:43.081Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-b6b4edba3bef4f78373e43c6ed69c574"],"technology":"oj","known_exclusions":[],"conditions_summary":"### Summary\n\nDisabling `symbol_keys` on a reused `Oj::Parser` instance triggers a heap use-after-free. When `symbol_keys` is toggled from `true` to `false`, `opt_symbol_keys_set` frees the internal key cache (`cache_free`) but does not clear the pointer. The next `parse` call reads from the freed cache via `cache_intern`, producing a use-after-free.\n\n### Version\n\n- **Software**: oj gem\n- **Affected**: all versions with `ext/oj/usual.c`\n- **Latest tested**: 3.17.1 (confirmed present)\n\n### Details\n\n`ext/oj/usual.c`, `opt_symbol_keys_set`:\n\n```c\n// usual.c:1043–1051\nif (symbol_keys) {\n    d->key_cache = cache_create(...);   // allocate\n} else {\n    cache_free(d->key_cache);           // free — but d->key_cache pointer not NULLed\n}\n```\n\nOn the next parse call, `cache_key` → `cache_intern` reads from `d->key_cache` which now points to freed memory.\n\nASAN report:\n```\n==145265==ERROR: AddressSanitizer: heap-use-after-free on address 0x50b00001a318\nREAD of size 8 at 0x50b00001a318 thread T0\n    #0 cache_intern            /ext/oj/cache.c:328\n    #1 cache_key               /ext/oj/usual.c:161\n    #2 close_object            /ext/oj/usual.c:285\n    #3 parse                   /ext/oj/parser.c:6","public_affected_ranges":["< 3.17.2"]}],"null_published_at":"2026-11-03T10:03:21.787Z","source_updated_at":"2026-10-06T19:52:38.000Z","source_disclosed_at":"2026-06-19T19:34:30.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-11-01T00:59:16.959Z"},{"id":"NVI-00012147","kind":"vulnerability","title":"Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2cw7-v8ff-p88r","CVE-2026-54899"],"plain_summary":"GitHub lists this reviewed advisory for oj. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-b6b4edba3bef4f78373e43c6ed69c574"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-b6b4edba3bef4f78373e43c6ed69c574","url":"https://github.com/advisories/GHSA-2cw7-v8ff-p88r","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-2cw7-v8ff-p88r","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:16.959Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-b6b4edba3bef4f78373e43c6ed69c574"],"technology":"oj","known_exclusions":[],"conditions_summary":"### Summary\n\nDisabling `symbol_keys` on a reused `Oj::Parser` instance triggers a heap use-after-free. When `symbol_keys` is toggled from `true` to `false`, `opt_symbol_keys_set` frees the internal key cache (`cache_free`) but does not clear the pointer. The next `parse` call reads from the freed cache via `cache_intern`, producing a use-after-free.\n\n### Version\n\n- **Software**: oj gem\n- **Affected**: all versions with `ext/oj/usual.c`\n- **Latest tested**: 3.17.1 (confirmed present)\n\n### Details\n\n`ext/oj/usual.c`, `opt_symbol_keys_set`:\n\n```c\n// usual.c:1043–1051\nif (symbol_keys) {\n    d->key_cache = cache_create(...);   // allocate\n} else {\n    cache_free(d->key_cache);           // free — but d->key_cache pointer not NULLed\n}\n```\n\nOn the next parse call, `cache_key` → `cache_intern` reads from `d->key_cache` which now points to freed memory.\n\nASAN report:\n```\n==145265==ERROR: AddressSanitizer: heap-use-after-free on address 0x50b00001a318\nREAD of size 8 at 0x50b00001a318 thread T0\n    #0 cache_intern            /ext/oj/cache.c:328\n    #1 cache_key               /ext/oj/usual.c:161\n    #2 close_object            /ext/oj/usual.c:285\n    #3 parse                   /ext/oj/parser.c:6","public_affected_ranges":["< 3.17.2"]}],"null_published_at":"2026-11-01T01:04:01.247Z","source_updated_at":"2026-10-06T19:52:38.000Z","source_disclosed_at":"2026-06-19T19:34:30.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-01T00:59:16.959Z"}],"next_cursor":null,"snapshot_revision":"42594"}