Highlights
Memory Corruption: 1 prior fix. Scrutinize any change in this area.
ext/oj/intern.c: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Memory Corruption: A critical memory corruption risk exists when the native C extension caches Ruby Class objects without registering them with the garbage collector. During GC cycles or compaction, these cached objects are relocated or freed, leading to a use-after-free vulnerability and segmentation faults upon subsequent cache lookups.