Security context

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

marshallpierce/rust-base64
master @ 13f4fe8
2
Fixes
1
CVEs
CRITICAL
Peak severity
Highlights
Memory Corruption: 2 prior fixes. Scrutinize any change in this area.
src/lib.rs: most-fixed (2 issues). 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: Integer overflow during capacity calculation allows allocating a buffer smaller than the actual written bytes, or setting an incorrect vector length via unsafe operations, causing out-of-bounds memory writes. This vulnerability is documented under CVE-2017-1000430.