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.