Vulnerability record · CVE-2021-31461 · published 7 May 2021
CVE-2021-31461: Foxitsoftware phantompdf type confusion vulnerability
Foxitsoftware · Phantompdf
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. 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 the handling of app.media objects. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. An attacker can leverage this vulnerability to execute code in the context of the current process Was ZDI-CAN-13333.
Description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. 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 the handling of app.media objects. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. An attacker can leverage this vulnerability to execute code in the context of the current process Was ZDI-CAN-13333.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://www.foxitsoftware.com/support/security-bulletins.php | PatchVendor Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-21-550/ | Third Party AdvisoryVDB Entry |
| https://www.foxitsoftware.com/support/security-bulletins.php | PatchVendor Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-21-550/ | Third Party AdvisoryVDB Entry |
Track CVE-2021-31461 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-31461), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.