Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

ruby/strscan
master @ d79a845
1
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Integer Overflow: 1 prior fix. Scrutinize any change in this area.
ext/strscan/strscan.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.

Integer Overflow: Truncation of 64-bit size_t offset and length values into 32-bit integers during onig_region_set calls can lead to out-of-bounds memory access or heap corruption when handling extremely large strings.