CVE Vulnerabilities

CVE-2019-5051

Detection of Error Condition Without Action

Published: Jul 03, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

Weakness

The product detects a specific error, but takes no actions to handle the error.

Affected Software

NameVendorStart VersionEnd Version
Sdl2_imageLibsdl2.0.4 (including)2.0.4 (including)
Libsdl2-imageUbuntubionic*
Libsdl2-imageUbuntucosmic*
Libsdl2-imageUbuntudisco*
Libsdl2-imageUbuntuesm-apps/bionic*
Libsdl2-imageUbuntuesm-apps/xenial*
Libsdl2-imageUbuntuesm-infra-legacy/trusty*
Libsdl2-imageUbuntutrusty*
Libsdl2-imageUbuntutrusty/esm*
Libsdl2-imageUbuntuupstream*
Libsdl2-imageUbuntuxenial*
Sdl-image1.2Ubuntubionic*
Sdl-image1.2Ubuntucosmic*
Sdl-image1.2Ubuntudisco*
Sdl-image1.2Ubuntuesm-apps/bionic*
Sdl-image1.2Ubuntuesm-apps/xenial*
Sdl-image1.2Ubuntuesm-infra-legacy/trusty*
Sdl-image1.2Ubuntutrusty*
Sdl-image1.2Ubuntutrusty/esm*
Sdl-image1.2Ubuntuupstream*
Sdl-image1.2Ubuntuxenial*

Potential Mitigations

References