ALPINE-CVE-2019-5060

    Dashboard / Vulnerabilities / ALPINE-CVE-2019-5060

    ALPINE-CVE-2019-5060

    Published: 31 Jul 2019Last Modified: 10 Sept 2026
    Upstream:

    Summary:

    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.

    Affected packages

    Package

    Name: sdl2_image

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

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.5-r0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High