← Vulnerability feed

Vulnerability record · CVE-2018-3977 · published 1 November 2018

CVE-2018-3977: Libsdl sdl image out-of-bounds write vulnerability

Libsdl · Sdl Image

An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

8.8 CVSS 3.0 High EPSS 3.5% · top 11.3% CWE-787 · Out-of-bounds write
8.8CVSS 3.0 base score, v2 6.8
3.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-3977 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2017-14448Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.2. A specially crafted XCF image can ca…EPSS 2.4%8.8CVE-2017-14441Libsdl sdl image integer overflow vulnerabilityAn exploitable code execution vulnerability exists in the ICO image rendering functionality of SDL2_image-2.0.2. A specially crafted ICO image can ca…EPSS 2.7%8.8CVE-2017-12122Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2_image-2.0.2. A specially crafted ILBM image can …EPSS 2.4%8.8CVE-2017-14449Libsdl sdl image double free vulnerabilityA double-Free vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.2. A specially crafted XCF image can cause a Double-Fre…EPSS 1.7%8.8CVE-2017-14442Libsdl sdl image memory buffer overflow vulnerabilityAn exploitable code execution vulnerability exists in the BMP image rendering functionality of SDL2_image-2.0.2. A specially crafted BMP image can ca…EPSS 2.4%8.8CVE-2017-14440Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2_image-2.0.2. A specially crafted ILBM image can …EPSS 2.4%8.8CVE-2018-3839Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the XCF image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially…EPSS 2.6%8.8CVE-2017-2887Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can c…EPSS 2.7%

Source: NIST National Vulnerability Database (record CVE-2018-3977), CISA KEV, FIRST EPSS (scores of 2026-10-02). This page is refreshed as NVD updates the record.