Skip to main content
No exploitation reportedFix available

CVE-2018-3977

No exploitation reported by the sources we read.

  • Published2018-11-01
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-11-0115:29CVE publishedNVD

Versions per branch

NVD
Libsdl sdl image
BranchAffectedFixed in
2.0= 2.0.3no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libsdl2-imageUbuntu:Pro:14.04:LTSall versions · fixed in 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1
  • libsdl2-imageDebian:14all versions · fixed in 2.0.3+dfsg1-3
  • libsdl2-imageDebian:13all versions · fixed in 2.0.3+dfsg1-3
  • libsdl2-imageDebian:12all versions · fixed in 2.0.3+dfsg1-3
  • libsdl2-imageDebian:8all versions · fixed in 2.0.0+dfsg-3+deb8u2
  • SDL_imageSUSE:Linux Enterprise Software Development Kit 11 SP4all versions · fixed in 1.2.6-84.46.1
  • SDL_imageMageia:7all versions · fixed in 1.2.12-12.1.mga7
  • sdl-image1.2Ubuntu:Pro:14.04:LTSall versions · fixed in 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1

9 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-3977 Red Hat Product Security

    SDL2_image: code execution in the XCF image rendering functionality

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.08.8known since 2026-10-23
  • NVDCVSS 3.08.8read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • NVDweakness (CWE)CWE-787read 2026-10-23
  • FIRST EPSSEPSS score3.5 %2026-11-08
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2018-11-01
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-9532-gqc7-9wv7

Frequently asked questions

What is CVE-2018-3977?

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.

Is CVE-2018-3977 actively exploited?

Active exploitation of CVE-2018-3977 has not been confirmed. Its EPSS score was 3.5% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-3977?

CVE-2018-3977 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running SDL2_image? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record