The fill_input_buffer function in jdatasrc.c in libjpeg-turbo 1.5.1 allows remote attackers to cause a denial of service (invalid memory access and application crash) or possibly have unspecified other impact via a crafted jpg file. NOTE: Maintainer asserts the issue is due to a bug in downstream code caused by misuse of the libjpeg API
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://seclists.org/fulldisclosure/2017/Jul/66 | third party advisory mailing list |
https://www.exploit-db.com/exploits/42391/ | exploit vdb entry third party advisory |
http://packetstormsecurity.com/files/143518/libjpeg-turbo-1.5.1-Denial-Of-Service.html | vdb entry third party advisory |
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/167 | issue tracking exploit third party advisory |