CVE-2019-5060
published 2019-07-31CVE-2019-5060: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer…
PriorityP349high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
4.04%
89.5th percentile
An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, 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.
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_cisco8.6HIGH
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.
Cisco
Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability
vendor_cisco·2019-09-25·CVSS 8.6
CVE-2019-12646 [HIGH] CWE-399 Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability
Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability
A vulnerability in the Network Address Translation (NAT) Session Initiation Protocol (SIP) Application Layer Gateway (ALG) of Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause an affected device to reload.
The vulnerability is due to improper processing of transient SIP packets on which NAT is performed on an affected device. An attacker could exploit this vulnerability by using UDP port 5060 to send crafted SIP packets through an affected device that is performing NAT for SIP packets. A successful exploit could allow an attacker to cause the device to reload, resulting in a denial of service (DoS) condition.
Cisco has released software updates that
Debian
CVE-2019-5060: libsdl2-image - An exploitable code execution vulnerability exists in the XPM image rendering fu...
vendor_debian·2019·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060: libsdl2-image - An exploitable code execution vulnerability exists in the XPM image rendering fu...
An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, 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.
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)
Cisco
Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability
vendor_cisco·CVSS 3.0
CVE-2019-12646 Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability
CVE-2019-12646: Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability
A vulnerability in the Network Address Translation (NAT) Session Initiation Protocol (SIP) Application Layer Gateway (ALG) of Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause an affected device to reload. The vulnerability is due to improper processing of transient SIP packets on which NAT is performed on an affected device. An attacker could exploit this vulnerability by using UDP port 5060 to send crafted SIP packets through an affected device that is performing NAT for SIP packets. A successful exploit could allow an attacker to cause the device to reload, resulting in a denial of service (DoS) condition. Cisco has released softwar
GHSA
GHSA-qr2r-966r-5p23: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2
ghsa_unreviewed·2022-05-24
CVE-2019-5060 [MEDIUM] CWE-787 GHSA-qr2r-966r-5p23: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2
An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, 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.
OSV
CVE-2019-5060: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2
osv·2019-07-31·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2
An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, 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.
Suricata
GPL VOIP EXPLOIT SIP UDP Softphone overflow attempt
suricata·2010-09-23
CVE-2006-0189 GPL VOIP EXPLOIT SIP UDP Softphone overflow attempt
GPL VOIP EXPLOIT SIP UDP Softphone overflow attempt
Rule: alert udp $EXTERNAL_NET any -> $HOME_NET 5060 (msg:"GPL VOIP EXPLOIT SIP UDP Softphone overflow attempt"; content:"|3B|branch|3D|"; content:"a|3D|"; pcre:"/^a\x3D[^\n]{1000,}/smi"; reference:bugtraq,16213; reference:cve,2006-0189; classtype:misc-attack; sid:2100223; rev:2; metadata:created_at 2010_09_23, cve CVE_2006_0189, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_07_26;)
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-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [fedora-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [fedora-all]
CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [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 change
Bugzilla
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [fedora-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [fedora-all]
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [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
Bugzilla
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [epel-7]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [epel-7]
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [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
Bugzilla
CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [epel-all]
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [epel-all]
CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [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
Bugzilla
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function
bugzilla·2019-08-09·CVSS 8.8
CVE-2019-5060 [HIGH] CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function
An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, 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-0844
Discussion:
Created SDL2_image tracking bugs for this issue:
Affects: epel-7 [bug 1739410]
Affects: fedora-all [bug 1739412]
Created mingw-SDL2_
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-0844http://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-0844
2019-07-31
Published