CVE-2021-31473

HIGH

Foxitsoftware Phantompdf < 9.7.5.29616 - Out-of-Bounds Write

Title source: rule

Description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.3.37598. 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 the browseForDoc function. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated data structure. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-13523.

Scores

CVSS v3 7.8
EPSS 0.0607
EPSS Percentile 90.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE
CWE-787
Status published

Affected Products (2)

foxitsoftware/phantompdf < 9.7.5.29616
foxitsoftware/reader < 10.1.3.37598

Timeline

Published May 21, 2021
Tracked Since Feb 18, 2026