A vulnerability has been discovered in imlib2, which can be exploited by malicious people to potentially compromise an application using the library.
The vulnerability is caused due to a pointer arithmetic error within the "load()" function provided by the XPM loader. This can be exploited to cause a heap-based buffer overflow via a specially crafted XPM file.
Successful exploitation may allow execution of arbitrary code.
The vulnerability is confirmed in version 1.4.2. Other versions may also be affected.
Solution: Do not process untrusted XPM files.
Provided and/or discovered by: Reported by Julien Danjou in a Debian bug report.
Original Advisory: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505714
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com