CVE-2019-5052
Reported by talos · Published July 3, 2019
An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sdl-image1.2 | Ubuntu:18.04:LTS | 1.2.12-8ubuntu0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Simple DirectMedia | Simple DirectMedia Layer SDL2_image 2.0.4 |
| n/a | Simple DirectMedia | 2.0.4 |
Timeline
- Jul 3, 2019 CVE Published
- Jul 4, 2019 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (10 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-5052
vulnetix vdb fixes CVE-2019-5052
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-5052/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20190722 [SECURITY] [DLA 1861-1] libsdl2-image security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20190727 [SECURITY] [DLA 1865-1] sdl-image1.2 security update mailing-listx_refsource_MLIST
- openSUSE-SU-2019:2070 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2071 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2109 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2108 vendor-advisoryx_refsource_SUSE
- USN-4238-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC