{"id":"CVE-2017-2888","details":"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.","modified":"2026-07-07T08:49:39.212122686Z","published":"2017-10-11T18:29:05.083Z","related":["openSUSE-SU-2017:2893-1","openSUSE-SU-2017:2895-1","openSUSE-SU-2024:10607-1","openSUSE-SU-2025:15206-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"19.04"},{"last_affected":"19.04"}]},{"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/101215"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00031.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4143-1/"},{"type":"EVIDENCE","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libsdl-org/sdl","events":[{"introduced":"54eb9067e15adcf0d978d0b672fe70cef0c05528"},{"last_affected":"54eb9067e15adcf0d978d0b672fe70cef0c05528"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:libsdl:simple_directmedia_layer:2.0.5:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.5"},{"last_affected":"2.0.5"}]}}],"versions":["2.0.5","release-2.0.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-2888.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}