CVE-2021-31456: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader
CVE-2021-31456 is a high-severity flaw (CVSS 7.8) affecting phantompdf, reader. 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
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 | 2.8% (top 14%) |
| 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-31456?
phantompdf: upgrade to newer than 10.1.37598; reader: upgrade to newer than 10.1.3.37598. Exact commands for each OS are on this page.
Is CVE-2021-31456 being exploited?
CVE-2021-31456 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-31456 affect?
CVE-2021-31456 affects phantompdf, reader. 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-31456?
Priority 49/100. High severity
Related CVEs
- CVE-2022-25641 MEDIUM 5.5 UPGRADE UPGRADE Foxit PDF Reader before 11.2.2 and PDF Editor before 11.2.2, and PhantomPDF before 10.1.8, mishandle cross-ref
- CVE-2021-41785 HIGH 7.8 UPGRADE UPGRADE Foxit PDF Reader before 11.1 and PDF Editor before 11.1, and PhantomPDF before 10.1.6, allow attackers to trig
- CVE-2021-41784 HIGH 7.8 UPGRADE UPGRADE Foxit PDF Reader before 11.1 and PDF Editor before 11.1, and PhantomPDF before 10.1.6, allow attackers to trig
- CVE-2021-41783 HIGH 7.8 UPGRADE UPGRADE Foxit PDF Reader before 11.1 and PDF Editor before 11.1, and PhantomPDF before 10.1.6, allow attackers to trig
- CVE-2021-41782 HIGH 7.8 UPGRADE UPGRADE Foxit PDF Reader before 11.1 and PDF Editor before 11.1, and PhantomPDF before 10.1.6, allow attackers to trig