CVE-2021-31451: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader
CVE-2021-31451 is a high-severity flaw (CVSS 7.8) affecting foxit reader, phantompdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 handling of Annotation objects. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An att
Why this priority
- High severity
- EPSS top 9%: very likely to be exploited
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 4.4% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2021-05-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-31451?
foxit reader: upgrade to newer than 10.1.3.37598; phantompdf: upgrade to newer than 10.1.3.37598. Exact commands for each OS are on this page.
Is CVE-2021-31451 being exploited?
CVE-2021-31451 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-31451 affect?
CVE-2021-31451 affects foxit reader, phantompdf. Severity is high (CVSS 7.8). 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
How urgent is CVE-2021-31451?
Priority 50/100. High severity; EPSS top 9%: very likely to be exploited
Related CVEs
- CVE-2022-43310 HIGH 7.8 UPGRADE An Uncontrolled Search Path Element in Foxit Software released Foxit Reader v11.2.118.51569 allows attackers t
- CVE-2021-38574 CRITICAL 9.8 UPGRADE UPGRADE An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4
- CVE-2021-38573 CRITICAL 9.8 UPGRADE UPGRADE An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4
- CVE-2021-38572 CRITICAL 9.8 UPGRADE UPGRADE An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4
- CVE-2021-38571 HIGH 7.8 UPGRADE UPGRADE An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4