CVE-2021-31461: Foxit Reader app.media Type Confusion Remote Code Execution Vulnerability

Published May 7, 2021
·
Updated

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.

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader. 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

Affected Software

5 affected components
Foxit Reader
Foxitsoftware Phantompdf<=9.7.5.29616
Foxitsoftware Phantompdf>=10.0.0.0<=10.1.3.37598
Foxitsoftware Reader<=10.1.3.37598
Microsoft Windows

Event History

May 7, 2021
CVE Published
via MITRE·08:16 PM
Data Sourced
via MITRE·08:16 PM
DescriptionSeverityWeakness
Feb 22, 2025
Advisory Published
via ZDI·04:31 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-31461?

CVE-2021-31461 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576.

2

How can the CVE-2021-31461 vulnerability be exploited?

The CVE-2021-31461 vulnerability can be exploited by visiting a malicious page or opening a malicious file.

3

Which software versions are affected by CVE-2021-31461?

Foxit Reader versions up to and including 10.1.3.37598 and Foxit PhantomPDF versions up to and including 9.7.5.29616 are affected by CVE-2021-31461.

4

What is the severity of CVE-2021-31461?

CVE-2021-31461 has a severity rating of high, with a CVSS score of 7.8.

5

How can I fix the CVE-2021-31461 vulnerability?

To fix the CVE-2021-31461 vulnerability, users should update their Foxit Reader or PhantomPDF installations to the latest version provided by Foxit Software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203