A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. This issue could allow an attacker to cause an application crash or, in some cases, execute arbitrary code with the permission of the user running the application. The vulnerability can also be exploited by a remote attacker to access confidential data, compromise its integrity, and cause a denial of service.