CVE-2019-5058: libsdl sdl2_image Heap-based Buffer Overflow
CVSS: 8.8v3.0HighModified
AliasesALPINE-CVE-2019-5058UBUNTU-CVE-2019-5058DEBIAN-CVE-2019-5058
Published 31-07-2019Last modified 04-08-2024
Vulnerability summary
CVE-2019-5058 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in libsdl sdl2_image. EPSS estimates a 3.62% chance of exploitation in the next 30 days, higher than 89.3% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.0 (CVE.org)EPSS score
3.62%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 31-07-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2.0.4. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
CVSS metrics
8 scores · 5 sources · 3 versionsHigh 8.8Preferred score · OSV · Alpine (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
High 8.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
3.62%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
0.00 pp
From 3.62% on 18-09-2026
18-09-202618-10-2026
EPSS score3.62%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian2 products
- libsdl2-image< 2.0.5+dfsg1-1
- sdl-image1.2< 1.2.12-11
Opensuse2 products
- backports_sle15.0 | 15.0:sp1
- leapEOL15.0 | 15.1
Alpine1 product
- sdl2_image< 2.0.5-r0
Libsdl1 product
- sdl2_image2.0.4
Ubuntu1 product
- libsdl2-imageAll versions (No fix recorded) | < 2.0.5+dfsg1-1
5 vendors · 7 products
References
9 links- lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- talosintelligence.com/vulnerability_reports/TALOS-2019-0842X Refsource MISCREPORTThird Party Advisory