Closed
Description
In issue #131 an out of bounds read involving the mat image format has been fixed.
After the fixing commits the buffer bImgBuff is large enough to deal with the PoC file that lead to issue #131.
However, after the fix the coder still accesses uninitialized data which might pose a security issue or at least a bug. The first undefined access happens within coders/mat.c:1196 in a call to calcMinMax(). The back part of the buffer bImgBuff is now large enough but does seemingly not contain any sensible data.
I've tested this using the current ImageMagick master branch git revision 4a44cbd.
Undefined access is detected by valgrind using this command line:
libtool --mode=execute valgrind ./utilities/magick $POC_FILE /dev/null
Metadata
Metadata
Assignees
Labels
No labels