Adobe Flash Player JPG Processing Heap Overflow Vulnerability
20 Dec. 2007
Summary
A vulnerability allows remote attackers to execute arbitrary code on systems with vulnerable installations of the Adobe Flash Player. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists in the Flash Player's parsing of JPG images embedded in SWF files. The Flash Player trusts the signed X and Y densities specified in the JPG header and makes memory allocations accordingly. A processing loop later treats these values as unsigned, leading to excessive loop iterations and heap corruption while decoding the rest of the image.