Security context

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

vigna/fastutil
master @ 29fc48b
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Integer Overflow: 1 prior fix. Scrutinize any change in this area.
BigArraysCommon.drv: 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.

Out-of-bounds Write: Inadequate bounds checks in utility functions like Arrays.ensureOffsetLength() allowed integer wrapping to bypass validation, potentially leading to arbitrary out-of-bounds writes or application crashes when manipulating large arrays.
Integer Overflow: The ensureOffsetLength method within big array templates was susceptible to integer overflow, failing to detect when offset + length wrapped around, which led to incorrect validation and subsequent array index out-of-bounds exceptions.