Security context

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

cockroachdb/pebble
master @ 8ca7bf3
4
Fixes
0
CVEs
CRITICAL
Peak severity
75.0%
Coverage
Highlights
Integer Overflow: 2 prior fixes. Scrutinize any change in this area.
.github/workflows/ci.yaml: most-fixed (1 issue). Treat as high-risk during review.
4 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.

Integer Overflow: Block offset arithmetic on 32-bit ints overflows for large KVs, causing OOB slice access and crashes.
Integer Overflow: Arena size accounting via atomic.AddUint32 overflows, allowing OOB writes/panics in the skip-list arena.
Memory Corruption: Using manual.New with cgo disabled yields Go heap pointers allocated via C allocator, causing use-after-free.