cve.bz

CVE-2018-3977 libsdl sdl image: Out-of-bounds Write

8.8 highExploit referenceEPSS 3.5%

High (8.8) in libsdl sdl image. EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.5% (unchanged from 3.5% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-3977 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-3977?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-3977?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-3977 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libsdl:sdl_image2.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libsdl2-image2.0.0+dfsg-3+deb8u2DLA-1861-1
Debian8sdl-image1.21.2.12-5+deb8u2DLA-1865-1
Debian12, 13, 14libsdl2-image2.0.3+dfsg1-3DEBIAN-CVE-2018-3977
Debian12, 13, 14sdl-image1.21.2.12-10DEBIAN-CVE-2018-3977
Ubuntu16.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.16.04.1UBUNTU-CVE-2018-3977 USN-4238-1
Ubuntu18.04:LTSsdl-image1.21.2.12-8ubuntu0.1UBUNTU-CVE-2018-3977 USN-4238-1
UbuntuPro:14.04:LTSlibsdl2-image2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1UBUNTU-CVE-2018-3977
UbuntuPro:14.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.14.04.1~esm1UBUNTU-CVE-2018-3977
SUSELinux Enterprise Software Development Kit 11 SP4SDL_image1.2.6-84.46.1SUSE-SU-2018:3861-1
SUSEPackage Hub 15SDL2_image2.0.4-bp150.3.3.1openSUSE-SU-2018:3906-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

References

Check your stackJSON