Every CVE Search/ Get API key

CVE-2019-12216

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in...

6.5 MediumFix available

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.21%Up 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
CVE-2019-12216
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
CVE-2019-12216
Updated
2026-11-02
EUVDEUVD-2019-3861 No score

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
EUVD-2019-3861
Updated
2026-11-03
GitHub AdvisoriesGHSA-mmcc-4pv3-77cj 6.5

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in...

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
GHSA-mmcc-4pv3-77cj
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVBELL-CVE-2019-12216 6.5

CVE-2019-12216 does not affect BellSoft software

Record
BELL-CVE-2019-12216
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 6.5

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
CVE-2019-12216
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-12216 6.5

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
DEBIAN-CVE-2019-12216
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2019-12216 6.5

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 a heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.

Record
UBUNTU-CVE-2019-12216
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUSN-4238-1 No score

sdl-image1.2 vulnerabilities

It was discovered that SDL_image incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.

Record
USN-4238-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libsdl2-image
Debian:12
before 2.0.5+dfsg1-1
2.0.5+dfsg1-1
libsdl2-image
Debian:13
before 2.0.5+dfsg1-1
2.0.5+dfsg1-1
libsdl2-image
Debian:14
before 2.0.5+dfsg1-1
2.0.5+dfsg1-1
sdl-image1.2
Debian:12
before 1.2.12-11
1.2.12-11
sdl-image1.2
Debian:13
before 1.2.12-11
1.2.12-11
sdl-image1.2
Debian:14
before 1.2.12-11
1.2.12-11
libsdl2-image
Debian:8
From an advisory covering 11 CVEs
before 2.0.0+dfsg-3+deb8u2, plus listed versions
2.0.0+dfsg-32.0.0+dfsg-3+deb8u1
2.0.0+dfsg-3+deb8u2
sdl-image1.2
Debian:8
From an advisory covering 11 CVEs
before 1.2.12-5+deb8u2, plus listed versions
1.2.12-51.2.12-5+deb8u1
1.2.12-5+deb8u2
libsdl2-image
Ubuntu:Pro:14.04:LTS
before 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1, plus listed versions
2.0.0+dfsg-22.0.0+dfsg-32.0.0+dfsg-3build22.0.0+dfsg-3+deb8u1build0.14.04.1
2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1
sdl-image1.2
Ubuntu:Pro:14.04:LTS
before 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1, plus listed versions
1.2.12-4ubuntu11.2.12-51.2.12-5build21.2.12-5+deb9u1build0.14.04.1
1.2.12-5+deb9u1ubuntu0.14.04.1~esm1
Show 6 moreShow less
Affected packages
PackageAffectedFixed
sdl-image1.2
Ubuntu:16.04:LTS
before 1.2.12-5+deb9u1ubuntu0.16.04.1, plus listed versions
1.2.12-5build21.2.12-5+deb9u1build0.16.04.1
1.2.12-5+deb9u1ubuntu0.16.04.1
libsdl2-image
Ubuntu:16.04:LTS
All versions, plus listed versions
2.0.0+dfsg-3build22.0.1+dfsg-12.0.1+dfsg-22.0.1+dfsg-2+deb9u1build0.16.04.1
None known
sdl-image1.2
Ubuntu:18.04:LTS
before 1.2.12-8ubuntu0.1, plus listed versions
1.2.12-61.2.12-71.2.12-8
1.2.12-8ubuntu0.1
libsdl2-image
Ubuntu:18.04:LTS
All versions, plus listed versions
2.0.1+dfsg-32.0.1+dfsg-42.0.2+dfsg1-12.0.3+dfsg1-1
None known
sdl-image1.2
Ubuntu:16.04:LTS
From an advisory covering 12 CVEs
before 1.2.12-5+deb9u1ubuntu0.16.04.1, plus listed versions
1.2.12-5build21.2.12-5+deb9u1build0.16.04.1
1.2.12-5+deb9u1ubuntu0.16.04.1
sdl-image1.2
Ubuntu:18.04:LTS
From an advisory covering 12 CVEs
before 1.2.12-8ubuntu0.1, plus listed versions
1.2.12-61.2.12-71.2.12-8
1.2.12-8ubuntu0.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-12216 is a medium vulnerability (CVSS 6.5) in Libsdl Simple Directmedia Layer, published May 20, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.21%, the 82nd percentile. Fixed in libsdl2-image 2.0.5+dfsg1-1.

References

Show 20 moreShow less
MoveEnter Open