CVE Vulnerabilities

CVE-2019-12219

Double Free

Published: May 20, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/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
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is an invalid free error in the SDL function SDL_SetError_REAL at SDL_error.c.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
Sdl2_imageLibsdl2.0.4 (including)2.0.4 (including)
Simple_directmedia_layerLibsdl2.0.9 (including)2.0.9 (including)
Libsdl2-imageUbuntubionic*
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.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