Highlights
Buffer Overflow: 55 prior fixes. Scrutinize any change in this area.
libtiff/tif_dirread.c: most-fixed (26 issues). Treat as high-risk during review.
132 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.
Integer Overflow: Multiple fixes address unchecked multiplications and additions in size and offset calculations, often leading to undersized allocations and subsequent heap overflows. This is the most pervasive root cause across the codebase.
Buffer Overflow: tiffcrop has a disproportionate number of buffer overflow fixes, spanning allocation size miscalculations, missing bounds checks in copy loops, and incorrect sample indexing. This tool is a high-risk attack surface due to its complex image manipulation logic.
Buffer Overflow: tiff2pdf exhibits numerous buffer overflows from incorrect size calculations, missing bounds checks on JPEG markers, and unsafe sprintf usage. The tool's complex PDF generation logic is a recurring source of memory corruption.