Security context

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

pysam-developers/pysam
master @ 30542fa
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Memory Corruption: 1 prior fix. Scrutinize any change in this area.
pysam/libcalignedsegment.pyx: 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.

Memory Corruption: Inconsistent length validation between the MD tag reference length and the CIGAR alignment length can cause a heap-based buffer overflow during alignment sequence reconstruction inside build_alignment_sequence. This is particularly critical because genomic data files are often large and externally sourced.