Security context

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

microsoft/sptag
main @ 8705451
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Memory Corruption: 2 prior fixes. Scrutinize any change in this area.
AnnService/inc/Core/Common/NeighborhoodGraph.h: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes 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: Unsafe scalar delete on array-allocated memory can corrupt the heap, potentially leading to arbitrary code execution or process crashes during dynamic search operations.
Memory Corruption: Missing bounds and integer overflow checks during graph refinement enable out-of-bounds vector access via invalid IDs, risking memory disclosure or corruption.