CVE-2019-5060

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-5060
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5060.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-5060
Related
Published
2019-07-31T17:15:11Z
Modified
2024-09-18T03:04:54.129297Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.10 / sdl2_image

Package

Name
sdl2_image
Purl
pkg:apk/alpine/sdl2_image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5-r0

Affected versions

2.*

2.0.1-r0
2.0.1-r1
2.0.1-r2
2.0.1-r3
2.0.2-r0
2.0.3-r0
2.0.4-r0

Alpine:v3.7 / sdl2_image

Package

Name
sdl2_image
Purl
pkg:apk/alpine/sdl2_image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5-r0

Affected versions

2.*

2.0.1-r0
2.0.1-r1
2.0.1-r2
2.0.1-r3
2.0.2-r0
2.0.2-r1

Alpine:v3.8 / sdl2_image

Package

Name
sdl2_image
Purl
pkg:apk/alpine/sdl2_image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5-r0

Affected versions

2.*

2.0.1-r0
2.0.1-r1
2.0.1-r2
2.0.1-r3
2.0.2-r0
2.0.3-r0

Alpine:v3.9 / sdl2_image

Package

Name
sdl2_image
Purl
pkg:apk/alpine/sdl2_image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5-r0

Affected versions

2.*

2.0.1-r0
2.0.1-r1
2.0.1-r2
2.0.1-r3
2.0.2-r0
2.0.3-r0
2.0.4-r0

Debian:11 / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/debian/libsdl2-image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/debian/libsdl2-image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/debian/libsdl2-image?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.5+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / sdl-image1.2

Package

Name
sdl-image1.2
Purl
pkg:deb/debian/sdl-image1.2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.12-12

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / sdl-image1.2

Package

Name
sdl-image1.2
Purl
pkg:deb/debian/sdl-image1.2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.12-12

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / sdl-image1.2

Package

Name
sdl-image1.2
Purl
pkg:deb/debian/sdl-image1.2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.12-12

Ecosystem specific

{
    "urgency": "not yet assigned"
}