CVE-2019-5058
published 2019-07-31CVE-2019-5058: 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…
PriorityP348high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
3.62%
88.2th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libsdl2-image | < libsdl2-image 2.0.5+dfsg1-1 (bookworm) | libsdl2-image 2.0.5+dfsg1-1 (bookworm) |
| debian | sdl-image1.2 | < libsdl2-image 2.0.5+dfsg1-1 (bookworm) | libsdl2-image 2.0.5+dfsg1-1 (bookworm) |
| libsdl | sdl2_image | — | — |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-g3fv-2w8r-wh3m: An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2
ghsa_unreviewed·2022-05-24
CVE-2019-5058 [HIGH] CWE-787 GHSA-g3fv-2w8r-wh3m: An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2
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.
OSV
CVE-2019-5058: An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2
osv·2019-07-31·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058: An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2
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.
Debian
CVE-2019-5058: libsdl2-image - An exploitable code execution vulnerability exists in the XCF image rendering fu...
vendor_debian·2019·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058: libsdl2-image - An exploitable code execution vulnerability exists in the XCF image rendering fu...
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.
Scope: local
bookworm: resolved (fixed in 2.0.5+dfsg1-1)
bullseye: resolved (fixed in 2.0.5+dfsg1-1)
forky: resolved (fixed in 2.0.5+dfsg1-1)
sid: resolved (fixed in 2.0.5+dfsg1-1)
trixie: resolved (fixed in 2.0.5+dfsg1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [fedora-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [fedora-all]
CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE:
Bugzilla
CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow
CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow
An exploitable code execution vulnerability exists in the XPM image rendering functionality of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow, allocating too small of a buffer. This buffer can then be written out of bounds resulting in a heap overflow, ultimately ending in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
External References:
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0843
Discussion:
Created SDL2_image tracking bugs for this issue:
Affects: epel-7 [bug 1739394]
Affects: fedora-all [bug 1739396]
Created mingw-SDL2_image tracking bugs for this issue:
Affects:
Bugzilla
CVE-2019-5058 mingw-SDL2_image: SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [fedora-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058 mingw-SDL2_image: SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [fedora-all]
CVE-2019-5058 mingw-SDL2_image: SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commi
Bugzilla
CVE-2019-5058 mingw-SDL2_image: SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [epel-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058 mingw-SDL2_image: SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [epel-all]
CVE-2019-5058 mingw-SDL2_image: SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit me
Bugzilla
CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [epel-7]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5058 [HIGH] CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [epel-7]
CVE-2019-5058 SDL2_image: exploitable code execution vulnerability in image rendering leads to a heap overflow [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
U
Talos
Vulnerability Spotlight: Remote code execution vulnerabilities in Simple DirectMedia Layer
blogs_talos·2019-07-02·CVSS 8.8
[HIGH] Vulnerability Spotlight: Remote code execution vulnerabilities in Simple DirectMedia Layer
Marcin “Icewall” Noga of Cisco Talos discovered these vulnerabilities.
Simple DirectMedia Layer contains two vulnerabilities that could an attacker to remotely execute code on the victim’s machine. Both bugs are present in the SDL2_image library, which is used for loading images in different formats. There are vulnerabilities in the function responsible for loading PCX files. A specially crafted PCX file can lead to a heap buffer overflow and remote code execution in both cases.
In accordance with our coordinated disclosure policy, Cisco Talos worked with SDL to ensure that these issues are resolved and that an update is available for affected customers. (UPDATE: SDL released an additional update that fixes four additional vulnerabilities.)
### Vulnerability details
Simple DirectMedia
Talos
Vulnerability Spotlight: Remote code execution vulnerabilities in Simple DirectMedia Layer
blogs_talos·2019-07-02·CVSS 8.8
[HIGH] Vulnerability Spotlight: Remote code execution vulnerabilities in Simple DirectMedia Layer
## Vulnerability Spotlight: Remote code execution vulnerabilities in Simple DirectMedia Layer
Marcin “Icewall” Noga of Cisco Talos discovered these vulnerabilities. Simple DirectMedia Layer contains two vulnerabilities that could an attacker to remotely execute code on the victim’s machine. Both bugs are present in the SDL2_image library, which is used for loading images in different formats. There are vulnerabilities in the function responsible for loading PCX files. A specially crafted PCX file can lead to a heap buffer overflow and remote code execution in both cases. In accordance with our coordinated disclosure policy, Cisco Talos worked with SDL to ensure that these issues are resolved and that an update is available for affected customers. (UPDATE: SDL released an additional update
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.htmlhttps://talosintelligence.com/vulnerability_reports/TALOS-2019-0842http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.htmlhttps://talosintelligence.com/vulnerability_reports/TALOS-2019-0842
2019-07-31
Published