VDB

CVE-2019-5051

CVE-2019-5051 PUBLISHED CVSS 8.8 HIGH

Reported by talos · Published July 3, 2019

An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sdl-image1.2Ubuntu:16.04:LTS1.2.12-5+deb9u1ubuntu0.16.04.1
sdl-image1.2Ubuntu:18.04:LTS1.2.12-8ubuntu0.1
sdl-image1.2Ubuntu:Pro:14.04:LTS1.2.12-5+deb9u1ubuntu0.14.04.1~esm1

Risk scores

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

Affected products

VendorProductVersions
n/aSimple DirectMediaSimple DirectMedia Layer SDL2_image 2.0.4
n/aSimple DirectMedia2.0.4

Timeline

  • Jul 3, 2019 CVE Published
  • Jul 4, 2019 PoC Published (2 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (6 in total, the first dated here)
  • Sep 9, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-5051
vulnetix vdb fixes CVE-2019-5051

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-5051/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›