Security context

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

ghaering/pysqlite
master @ 4f32165
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Memory Corruption: 1 prior fix. Scrutinize any change in this area.
setup.cfg: 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: Premature Py_DECREF calls on function_result and aggregate_instance led to use-after-free during callback execution, a classic native-extension hazard.
Security Feature Bypass: Enabling SQLite extension loading by default allowed untrusted extensions to execute arbitrary code, bypassing the Python sandbox.