Security context

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

image-rs/image-png
master @ 4ab5484
1
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Memory Safety: 1 prior fix. Scrutinize any change in this area.
src/decoder/stream.rs: 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.

Memory Safety: The use of lifetime-casting transmutes in the streaming decoder introduced unsoundness, which could be exploited to cause memory corruption or arbitrary code execution during image decoding. Future developers must avoid unsafe transmutation of lifetime-bound types.