CVE-2019-5051
published 2019-07-03CVE-2019-5051: 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…
PriorityP347high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
4.04%
89.5th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| 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-wxjc-cpqc-xw6q: An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2
ghsa_unreviewed·2022-05-24
CVE-2019-5051 [HIGH] CWE-787 GHSA-wxjc-cpqc-xw6q: An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2
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.
OSV
CVE-2019-5051: An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2
osv·2019-07-03·CVSS 8.8
CVE-2019-5051 [HIGH] CVE-2019-5051: An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2
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.
Ubuntu
SDL_image vulnerabilities
vendor_ubuntu·2020-01-14
CVE-2018-3977 SDL_image vulnerabilities
Title: SDL_image vulnerabilities
Summary: Several security issues were fixed in SDL_image.
It was discovered that SDL_image incorrectly handled certain image files. An
attacker could possibly use this issue to cause a denial of service or other
unspecified impact.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2019-5051: libsdl2-image - An exploitable heap-based buffer overflow vulnerability exists when loading a PC...
vendor_debian·2019·CVSS 8.8
CVE-2019-5051 [HIGH] CVE-2019-5051: libsdl2-image - An exploitable heap-based buffer overflow vulnerability exists when loading a PC...
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.
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.
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
Bugzilla
CVE-2019-5051 SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution
bugzilla·2019-11-29·CVSS 8.8
CVE-2019-5051 [HIGH] CVE-2019-5051 SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution
CVE-2019-5051 SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution
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.
Reference:
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0820
Discussion:
Created mingw-SDL2_image tracking bugs for this issue:
Affects: epel-7 [bug 1778275]
Bugzilla
CVE-2019-5051 mingw-SDL2_image: SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution [epel-7]
bugzilla·2019-11-29·CVSS 8.8
CVE-2019-5051 [HIGH] CVE-2019-5051 mingw-SDL2_image: SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution [epel-7]
CVE-2019-5051 mingw-SDL2_image: SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution [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 changel
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.htmlhttps://lists.debian.org/debian-lts-announce/2019/07/msg00026.htmlhttps://talosintelligence.com/vulnerability_reports/TALOS-2019-0820https://usn.ubuntu.com/4238-1/http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.htmlhttps://lists.debian.org/debian-lts-announce/2019/07/msg00026.htmlhttps://talosintelligence.com/vulnerability_reports/TALOS-2019-0820https://usn.ubuntu.com/4238-1/
2019-07-03
Published