Foxit Reader FlateDecode Use-After-Free Remote Code Execution Vulnerability

2016-03-23T00:00:00
ID ZDI-16-221
Type zdi
Reporter Jaanus Kp Clarified Security
Modified 2016-11-09T00:00:00

Description

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader. 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 within FlateDecode. A specially crafted PDF with a specific FlateDecode stream can force a dangling pointer to be reused after it has been freed. An attacker could leverage this vulnerability to execute arbitrary code under the context of the current process.