CVE-2019-12220 Memory corruption in n/a

Medium 6.5 Published Updated

An out-of-bounds read in SDL2_image allows attackers to cause denial of service or disclose sensitive memory contents via crafted image files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-12220?

CVE-2019-12220 is a medium-severity memory corruption vulnerability in n/a, published on 20 May 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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 out-of-bounds read in the SDL function SDL_FreePalette_REAL at video/SDL_pixels.c.

Weakness: CWE-125

Which versions are affected by CVE-2019-12220?

It affects 2 products.

Products include Libsdl Sdl2 Image, Libsdl Simple Directmedia Layer.

How do I fix CVE-2019-12220?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-12220 being exploited?

There is no known exploitation of CVE-2019-12220 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-12220, GHSA-hrh3-rvrh-p2vg, UBUNTU-CVE-2019-12220.

Is CVE-2019-12220 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free