A memory denial-of-service vulnerability exists in Pillow's TIFF and EXIF IFD parsing where overlapping tag data can cause memory usage to grow quadratically with input size. This affects Pillow versions from 1.0.0 up to but not including 13.0.0. The issue arises because the library retains separate bytes objects for each out-of-line IFD tag value without limiting total data read or preventing multiple tags from referencing the same file region. This can lead to process memory exhaustion when opening crafted TIFF or EXIF-bearing images. The vulnerability is fixed in Pillow 13.0.0.