My theory on how the webp 0day was discovered #short
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
ultimately the mistake that webp made was trusting the output from the tool enough. C to calculate the maximum possible table size and so I was wondering are there other image formats or compression tools that trust this output so I went to the GitHub search and start to look for C code where that tool shows up in the comments and I found bruntley and in the jpeg Huffman decode header file I found the following maximum halfman lookup table size hardcoded to, 24 referencing enough. C
but enough. C works with an assumption
listen to me input jpex might have this assumption broken to me it sounds like the author of this comment knew that enough doc calculates only table sizes for correct tables but input jpegs so maliciously supplyed JPEG files might be malformed and this just a theory but I can see how a vulnerability researcher focusing on image formats came





