Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
nibabel/arrayproxy.py: most-fixed (2 issues). 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: Improper lifecycle tracking of file descriptors during 'auto' file-keep modes can exhaust system resources, leading to a denial of service. Developers must ensure that all file-pointer contexts are deterministically closed or managed safely across different file extensions.
Race Condition: Concurrent access to file-backed arrays without proper synchronization can result in data corruption or crashes. Safe concurrent reads depend on robust thread-lock wrapping around array resolution operations.
Integer Overflow: Calculating the size of multi-dimensional shapes exceeding 4GB on 32-bit architectures using fixed-width NumPy operations can trigger overflows. Developers should use arbitrary-precision operations or check bounds explicitly before initializing large memory allocations.