tif_predict.h and tif_predict.c in libtiff 4.0.6 have assertions that can lead to assertion failures in debug mode, or buffer overflows in release mode, when dealing with unusual tile size like YCbCr with subsampling. Reported as MSVR 35105, aka "Predictor heap-buffer-overflow."
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.debian.org/security/2017/dsa-3844 | vendor advisory |
https://github.com/vadz/libtiff/commit/3ca657a8793dd011bf869695d72ad31c779c3cc1 | issue tracking third party advisory patch |
https://github.com/vadz/libtiff/commit/6a984bf7905c6621281588431f384e79d11a2e33 | issue tracking third party advisory patch |
http://rhn.redhat.com/errata/RHSA-2017-0225.html | vendor advisory |
http://www.securityfocus.com/bid/94744 | vdb entry |
http://www.securityfocus.com/bid/94484 | vdb entry third party advisory |