Description: Slythers Bro has discovered a security issue in the imageop module for Python, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise a vulnerable system.
The security issue is caused due to an integer overflow error within the "tovideo()" function and can be exploited to cause a heap-based buffer overflow when specially crafted parameters are passed to the function.
Successful exploitation may allow execution of arbitrary code.
The security issue is confirmed in Python 2.5.1. Other versions may also be affected.
Solution: Use the imageop "tovideo()" function to process trusted data only.
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.