CVE-2019-5051Libsdl Sdl2 Image
High 8.8 No auth needed
Follow: this CVE · Libsdl · Libsdl Sdl2 Image We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jul 3, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
What to do
- Apply the vendor's security update for Sdl2 Image.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libsdl | sdl2_image | 2.0.4 |
| debian | debian_linux | 8.0 |
| opensuse | backports_sle | 15.0 |
| opensuse | backports_sle | 15.0 |
| opensuse | leap | 15.0 |
| opensuse | leap | 15.1 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- talosintelligence.com Exploit Third Party Advisory
- usn.ubuntu.com Third Party Advisory