Security context

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

python-greenlet/greenlet
master @ c2db75d
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
C++: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Denial of Service: Unsafe stack switching during Python interpreter shutdown on pre-3.11 versions can cause process crashes via SIGSEGV or SIGABRT. Developers must ensure that stack switches are bypassed during interpreter finalization.
Denial of Service: Use-After-Free conditions can occur during the Python interpreter shutdown phase when internal greenlet structures rely on Python-managed memory pools that are cleared before greenlets are fully destroyed.