A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to cause a memory corruption via e.g. a specially crafted KDC file with model set to "DSLR-A100" and containing multiple sequences of 0x100 and 0x14A TAGs.
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.securityfocus.com/bid/98592 | vdb entry third party advisory |
https://secuniaresearch.flexerasoftware.com/secunia_research/2017-6/ | third party advisory permissions required |
https://secuniaresearch.flexerasoftware.com/advisories/75737/ | third party advisory permissions required |
http://www.debian.org/security/2017/dsa-3950 | vendor advisory |
https://github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251 | third party advisory patch |