CVE Vulnerabilities

CVE-2019-12219

Double Free

Published: May 20, 2019 | Modified: Nov 07, 2023
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

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, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Sdl2_image Libsdl 2.0.4 (including) 2.0.4 (including)
Simple_directmedia_layer Libsdl 2.0.9 (including) 2.0.9 (including)
Libsdl2-image Ubuntu bionic *
Libsdl2-image Ubuntu disco *
Libsdl2-image Ubuntu esm-apps/bionic *
Libsdl2-image Ubuntu esm-apps/xenial *
Libsdl2-image Ubuntu trusty *
Libsdl2-image Ubuntu trusty/esm *
Libsdl2-image Ubuntu upstream *
Libsdl2-image Ubuntu xenial *
Sdl-image1.2 Ubuntu bionic *
Sdl-image1.2 Ubuntu disco *
Sdl-image1.2 Ubuntu trusty *
Sdl-image1.2 Ubuntu trusty/esm *
Sdl-image1.2 Ubuntu upstream *
Sdl-image1.2 Ubuntu xenial *

Potential Mitigations

References