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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/101215 | vdb entry broken link |
https://usn.ubuntu.com/4143-1/ | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/10/msg00031.html | third party advisory mailing list |
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395 | exploit third party advisory technical description |