Home / mailingsPDF  

[USN-9452-1] SDL_image vulnerabilities

Posted on 03 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9452-1
December 02, 2026

libsdl2-image vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

SDL_image could be made to crash or run programs if it opened a specially
crafted file.

Software Description:
- libsdl2-image: Image loading library for Simple DirectMedia Layer 2

Details:

It was discovered that SDL_image did not properly handle certain XCF image
files. If a user or automated system were tricked into opening a specially
crafted file, an attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2018-3977)

It was discovered that SDL_image did not properly handle certain PCX image
files. If a user or automated system were tricked into opening a specially
crafted file, an attacker could possibly use this issue to cause SDL_image
to crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2019-5051, CVE-2019-5052, CVE-2019-12216)

It was discovered that SDL_image did not properly handle certain image
files. If a user or automated system were tricked into opening a specially
crafted file, an attacker could possibly use this issue to cause SDL_image
to crash, resulting in a denial of service. (CVE-2019-7635, CVE-2019-12217,
CVE-2019-12218, CVE-2019-12219, CVE-2019-12220, CVE-2019-12221,
CVE-2019-12222)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 18.04 LTS
libsdl2-image-2.0-0 2.0.3+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
libsdl2-image-2.0-0 2.0.1+dfsg-2+deb9u1ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9452-1
CVE-2018-3977, CVE-2019-12216, CVE-2019-12217, CVE-2019-12218,
CVE-2019-12219, CVE-2019-12220, CVE-2019-12221, CVE-2019-12222,
CVE-2019-5051, CVE-2019-5052, CVE-2019-7635

--===============0426983758760866345==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP