UBUNTU-CVE-2019-5059

Source
https://ubuntu.com/security/CVE-2019-5059
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5059.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-5059
Related
Published
2019-07-31T17:15:00Z
Modified
2024-10-15T14:07:18Z
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
  • 8.8 (High) CVSS_V3 - CVSS:3.0/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 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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/ubuntu/libsdl2-image?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.0+dfsg-2
2.0.0+dfsg-3
2.0.0+dfsg-3build2
2.0.0+dfsg-3+deb8u1build0.14.04.1
2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/ubuntu/libsdl2-image?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.0+dfsg-3build2
2.0.1+dfsg-1
2.0.1+dfsg-2
2.0.1+dfsg-2+deb9u1build0.16.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/ubuntu/libsdl2-image?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.1+dfsg-3
2.0.1+dfsg-4
2.0.2+dfsg1-1
2.0.3+dfsg1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libsdl2-image

Package

Name
libsdl2-image
Purl
pkg:deb/ubuntu/libsdl2-image?arch=src?distro=focal

Affected ranges

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.0.5+dfsg1-1",
            "binary_name": "libsdl2-image-2.0-0"
        },
        {
            "binary_version": "2.0.5+dfsg1-1",
            "binary_name": "libsdl2-image-2.0-0-dbgsym"
        },
        {
            "binary_version": "2.0.5+dfsg1-1",
            "binary_name": "libsdl2-image-dev"
        }
    ]
}