Security context

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

pysam-developers/pysam
master @ 0250378
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Buffer Overflow: 1 prior fix. Scrutinize any change in this area.
C: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Sandbox Escape: exit(3) calls inside C wrappers can terminate the Python interpreter, breaking the host process and enabling denial-of-service or sandbox escape.
Buffer Overflow: build_alignment_sequence() writes beyond allocated buffer when MD tag length exceeds CIGAR length, risking memory corruption.
Memory Corruption: bcf_translate() dereferences NULL vptr when INFO fields are deleted, causing segfaults and potential memory corruption.