CVE-2019-5057
published 2019-07-31CVE-2019-5057: An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap…
PriorityP348high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
3.62%
88.2th percentile
An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX 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
vendor_redhat5.0MEDIUM
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.
Debian
CVE-2019-5057: libsdl2-image - An exploitable code execution vulnerability exists in the PCX image-rendering fu...
vendor_debian·2019·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057: libsdl2-image - An exploitable code execution vulnerability exists in the PCX image-rendering fu...
An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX 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)
Red Hat
struts: improper access restrictions to collections such as session and request
vendor_redhat·2011-12-21·CVSS 5.0
CVE-2011-5057 [MEDIUM] struts: improper access restrictions to collections such as session and request
struts: improper access restrictions to collections such as session and request
Apache Struts 2.3.1.2 and earlier, 2.3.19-2.3.23, provides interfaces that do not properly restrict access to collections such as the session and request collections, which might allow remote attackers to modify run-time data values via a crafted parameter to an application that implements an affected interface, as demonstrated by the SessionAware, RequestAware, ApplicationAware, ServletRequestAware, ServletResponseAware, and ParameterAware interfaces. NOTE: the vendor disputes the significance of this report because of an "easy work-around in existing apps by configuring the interceptor."
Statement: A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not in
GHSA
GHSA-3x4q-fw99-659p: An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2
ghsa_unreviewed·2022-05-24
CVE-2019-5057 [HIGH] CWE-787 GHSA-3x4q-fw99-659p: An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2
An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX 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-5057: An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2
osv·2019-07-31·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057: An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2
An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
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-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [fedora-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [fedora-all]
CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to 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: this iss
Bugzilla
CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow
CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow
An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
External References:
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0841
Discussion:
Created SDL2_image tracking bugs for this issue:
Affects: epel-7 [bug 1739403]
Affects: fedora-all [bug 1739405]
Created mingw-SDL2_image tracking bugs for this issue:
Affects: epel-all [bug 1739404]
Affects: fedora-all [bug 1739406]
---
This CVE Bugzilla entry is for community support informational purp
Bugzilla
CVE-2019-5057 mingw-SDL2_image: SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [fedora-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057 mingw-SDL2_image: SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [fedora-all]
CVE-2019-5057 mingw-SDL2_image: SDL2_image: exploitable code execution in the PCX image-rendering leads to 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 messag
Bugzilla
CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [epel-7]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [epel-7]
CVE-2019-5057 SDL2_image: exploitable code execution in the PCX image-rendering leads to 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:
Use the f
Bugzilla
CVE-2019-5057 mingw-SDL2_image: SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [epel-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5057 [HIGH] CVE-2019-5057 mingw-SDL2_image: SDL2_image: exploitable code execution in the PCX image-rendering leads to heap overflow [epel-all]
CVE-2019-5057 mingw-SDL2_image: SDL2_image: exploitable code execution in the PCX image-rendering leads to 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 message.
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-0841http://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-0841
2019-07-31
Published