Simple Directmedia Layer · Sdl2 Image · CVE-2019-12216
**Name of the Vulnerable Software and Affected Versions**
Simple DirectMedia Layer (SDL) version 2.0.9
SDL2 image version 2.0.4
**Description**
The issue is related to a heap-based buffer overflow in the `IMG LoadPCX RW` function, located in `IMG pcx.c`, which can lead to a denial of service. This overflow occurs when the `SDL2 image` library is used in conjunction with the `Simple DirectMedia Layer` library.
**Recommendations**
For Simple DirectMedia Layer (SDL) version 2.0.9, consider updating to a newer version to resolve the issue.
For SDL2 image version 2.0.4, consider updating to a newer version to resolve the issue.
As a temporary workaround, consider restricting the use of the `IMG LoadPCX RW` function in `IMG pcx.c` to minimize the risk of exploitation.