CVE-2021-31461: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader
CVE-2021-31461 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 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
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.3% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-843 |
| 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-31461?
phantompdf: upgrade to newer than 10.1.3.37598; reader: upgrade to newer than 10.1.3.37598. Exact commands for each OS are on this page.
Is CVE-2021-31461 being exploited?
CVE-2021-31461 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-31461 affect?
CVE-2021-31461 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-31461?
Priority 50/100. High severity; EPSS top 9%: very likely to be exploited
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