Buffer Overflow Blunders: Libgeotiff’s Odd-Width TIFF Tiff!
Watch out for odd ImageWidth! A heap buffer overflow in libgeotiff 1.7.4’s geotifcp can crash your day. It sneaks in during 8-to-4 bit downsampling, potentially leaking info or causing memory mischief. So, unless you want your system to throw a tantrum, handle those pixels with care!

Hot Take:
Oh, libgeotiff, you had one job! Who knew that a simple pixel pairing could turn into a crash course in digital chaos? It’s like a game of digital Jenga where removing one block could lead to a heap of trouble – literally. Let’s just say, when it comes to image processing, odd numbers and even bytes don’t mix well.
Key Points:
– A heap buffer overflow vulnerability is found in the geotifcp utility of libgeotiff.
– The flaw occurs with odd ImageWidth during an 8-to-4 bit downsample.
– The vulnerability results in a heap out-of-bounds read.
– Consequences include potential crashes, information leaks, and memory corruption.
– Proof of Concept (PoC) involves a TIFF file with ImageWidth = 101.