Openjpeg · Openjpeg · CVE-2016-10505
**Name of the Vulnerable Software and Affected Versions**
OpenJPEG versions prior to 2.2.0
**Description**
The issue is related to NULL pointer dereference vulnerabilities in several functions, including `imagetopnm` in convert.c, `sycc444 to rgb`, `color esycc to rgb`, and `sycc422 to rgb` in color.c. These vulnerabilities can be exploited by remote attackers using crafted j2k files, leading to a denial of service (application crash).
**Recommendations**
For versions prior to 2.2.0, update to version 2.2.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the vulnerable functions until a patch is available. Avoid processing crafted j2k files with the affected OpenJPEG versions to minimize the risk of exploitation.