A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.
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-3768 | vendor advisory |
http://www.securityfocus.com/bid/93242 | vdb entry |
http://www.securitytracker.com/id/1038623 | vdb entry |
https://www.oracle.com/security-alerts/cpujul2020.html | |
http://www.talosintelligence.com/reports/TALOS-2016-0193/ | third party advisory exploit |
https://github.com/uclouvain/openjpeg/releases/tag/v2.1.2 | third party advisory release notes |