CVE-2024-30338: CWE-416: Use After Free in Foxit PDF Reader
Foxit PDF Reader Doc Object Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF 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 handling of Doc objects. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22705.
AI Analysis
Technical Summary
CVE-2024-30338 is a use-after-free vulnerability classified under CWE-416 found in Foxit PDF Reader version 2023.3.0.23028. The flaw exists in the handling of Doc objects within the PDF Reader, where the software fails to verify the existence of an object before performing operations on it. This improper validation leads to a use-after-free condition, which can be exploited by remote attackers to execute arbitrary code. The attack vector requires user interaction, such as opening a malicious PDF file or visiting a crafted web page containing malicious PDF content. Upon exploitation, attackers can execute code with the privileges of the current user running the Foxit PDF Reader process, potentially leading to full system compromise depending on user rights. The vulnerability has a CVSS v3.0 base score of 7.8, indicating high severity, with attack vector local, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability. No patches were available at the time of disclosure, and no known exploits have been reported in the wild. The vulnerability was reported by the Zero Day Initiative (ZDI) as ZDI-CAN-22705 and publicly disclosed on April 2, 2024.
Potential Impact
The impact of CVE-2024-30338 is significant for organizations using the affected Foxit PDF Reader version. Successful exploitation allows remote attackers to execute arbitrary code within the context of the current user, potentially leading to unauthorized access, data theft, installation of malware, or disruption of services. Since PDF readers are widely used in enterprises, government agencies, and educational institutions, this vulnerability could be leveraged in targeted spear-phishing campaigns or mass malware distribution. The requirement for user interaction limits automated exploitation but does not eliminate risk, especially in environments where users frequently open PDF attachments or browse untrusted websites. The vulnerability affects confidentiality by enabling data exfiltration, integrity by allowing modification of files or system settings, and availability by potentially causing application or system crashes. The absence of known exploits in the wild suggests a window for proactive mitigation before widespread attacks occur.
Mitigation Recommendations
Organizations should immediately audit their Foxit PDF Reader deployments to identify affected versions (2023.3.0.23028). Until an official patch is released, apply the following mitigations: 1) Restrict or disable the use of Foxit PDF Reader for opening untrusted or unsolicited PDF files, especially those received via email or downloaded from the internet. 2) Employ email filtering and attachment sandboxing to detect and block malicious PDFs. 3) Educate users about the risks of opening PDFs from unknown sources and encourage cautious behavior. 4) Use application whitelisting or endpoint protection solutions to monitor and block suspicious process behaviors related to Foxit PDF Reader. 5) Consider deploying network-level protections such as web proxies with malware scanning to prevent access to malicious web pages hosting exploit PDFs. 6) Monitor security advisories from Foxit for patches and apply updates promptly once available. 7) Implement least privilege principles to limit the impact of potential code execution by running PDF readers with minimal user rights.
Affected Countries
United States, China, Germany, United Kingdom, India, France, Japan, South Korea, Canada, Australia
CVE-2024-30338: CWE-416: Use After Free in Foxit PDF Reader
Description
Foxit PDF Reader Doc Object Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF 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 handling of Doc objects. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22705.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-30338 is a use-after-free vulnerability classified under CWE-416 found in Foxit PDF Reader version 2023.3.0.23028. The flaw exists in the handling of Doc objects within the PDF Reader, where the software fails to verify the existence of an object before performing operations on it. This improper validation leads to a use-after-free condition, which can be exploited by remote attackers to execute arbitrary code. The attack vector requires user interaction, such as opening a malicious PDF file or visiting a crafted web page containing malicious PDF content. Upon exploitation, attackers can execute code with the privileges of the current user running the Foxit PDF Reader process, potentially leading to full system compromise depending on user rights. The vulnerability has a CVSS v3.0 base score of 7.8, indicating high severity, with attack vector local, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability. No patches were available at the time of disclosure, and no known exploits have been reported in the wild. The vulnerability was reported by the Zero Day Initiative (ZDI) as ZDI-CAN-22705 and publicly disclosed on April 2, 2024.
Potential Impact
The impact of CVE-2024-30338 is significant for organizations using the affected Foxit PDF Reader version. Successful exploitation allows remote attackers to execute arbitrary code within the context of the current user, potentially leading to unauthorized access, data theft, installation of malware, or disruption of services. Since PDF readers are widely used in enterprises, government agencies, and educational institutions, this vulnerability could be leveraged in targeted spear-phishing campaigns or mass malware distribution. The requirement for user interaction limits automated exploitation but does not eliminate risk, especially in environments where users frequently open PDF attachments or browse untrusted websites. The vulnerability affects confidentiality by enabling data exfiltration, integrity by allowing modification of files or system settings, and availability by potentially causing application or system crashes. The absence of known exploits in the wild suggests a window for proactive mitigation before widespread attacks occur.
Mitigation Recommendations
Organizations should immediately audit their Foxit PDF Reader deployments to identify affected versions (2023.3.0.23028). Until an official patch is released, apply the following mitigations: 1) Restrict or disable the use of Foxit PDF Reader for opening untrusted or unsolicited PDF files, especially those received via email or downloaded from the internet. 2) Employ email filtering and attachment sandboxing to detect and block malicious PDFs. 3) Educate users about the risks of opening PDFs from unknown sources and encourage cautious behavior. 4) Use application whitelisting or endpoint protection solutions to monitor and block suspicious process behaviors related to Foxit PDF Reader. 5) Consider deploying network-level protections such as web proxies with malware scanning to prevent access to malicious web pages hosting exploit PDFs. 6) Monitor security advisories from Foxit for patches and apply updates promptly once available. 7) Implement least privilege principles to limit the impact of potential code execution by running PDF readers with minimal user rights.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- zdi
- Date Reserved
- 2024-03-26T18:52:36.411Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 699f6dbeb7ef31ef0b58d94f
Added to database: 2/25/2026, 9:46:38 PM
Last enriched: 2/26/2026, 3:11:57 PM
Last updated: 4/12/2026, 5:07:20 AM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.