Security context

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

google/swiftshader
master @ 7868bf3
117
Fixes
0
CVEs
HIGH
Peak severity
41.7%
Coverage
Highlights
Memory Corruption: 30 prior fixes. Scrutinize any change in this area.
src/OpenGL/libGLESv2/Context.cpp: most-fixed (11 issues). Treat as high-risk during review.
77 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: The SPIR-V image operations are highly prone to memory corruption via out-of-bounds coordinate offsets and lane calculations. Bypassing robustness protections can lead to arbitrary write or read capabilities.
Integer Overflow: Signed/unsigned comparison mismatches and unchecked arithmetic on pixel unpack offsets allow attackers to bypass buffer size validation, resulting in severe heap corruption.
Use-After-Free: Vulkan descriptor sets and image views lack adequate reference or liveness tracking, allowing sampling operations to dereference deleted host-allocated objects or pointers.