← Vulnerability feed

Vulnerability record · CVE-2021-21831 · published 5 August 2021

CVE-2021-21831: Foxit pdf reader use after free vulnerability

Foxit · Pdf Reader

A use-after-free vulnerability exists in the JavaScript engine of Foxit Software’s PDF Reader, version 10.1.3.37598. A specially crafted PDF document can trigger the reuse of previously freed memory, which can lead to arbitrary code execution. An attacker needs to trick the user to open the malicious file to trigger this vulnerability. Exploitation is also possible if a user visits a specially crafted, malicious site if the browser plugin extension is enabled.

8.8 CVSS 3.1 High EPSS 6.2% · top 6.8% CWE-416 · Use after free
8.8CVSS 3.1 base score, v2 6.8
6.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A use-after-free vulnerability exists in the JavaScript engine of Foxit Software’s PDF Reader, version 10.1.3.37598. A specially crafted PDF document can trigger the reuse of previously freed memory, which can lead to arbitrary code execution. An attacker needs to trick the user to open the malicious file to trigger this vulnerability. Exploitation is also possible if a user visits a specially crafted, malicious site if the browser plugin extension is enabled.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-21831 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-24954Foxit pdf reader out-of-bounds write vulnerabilityFoxit PDF Reader before 11.2.1 and Foxit PDF Editor before 11.2.1 have a Stack-Based Buffer Overflow related to XFA, for the 'subform colSpan="-2"' a…EPSS 12%9.8CVE-2022-24955Foxit pdf reader uncontrolled search path element vulnerabilityFoxit PDF Reader before 11.2.1 and Foxit PDF Editor before 11.2.1 have an Uncontrolled Search Path Element for DLL files.EPSS 1.1%9.8CVE-2021-38563Foxit pdf reader vulnerabilityAn issue was discovered in Foxit PDF Reader before 11.0.1 and PDF Editor before 11.0.1. It mishandles situations in which an array size (derived from…EPSS 1.1%8.8CVE-2025-13941Foxit pdf editor incorrect permission assignment vulnerabilityA local privilege escalation vulnerability exists in the Foxit PDF Reader/Editor Update Service. During plugin installation, incorrect file system pe…EPSS 0.19%8.8CVE-2025-32451Foxit pdf reader vulnerabilityA memory corruption vulnerability exists in Foxit Reader 2025.1.0.27937 due to the use of an uninitialized pointer. A specially crafted Javascript co…EPSS 0.58%8.8CVE-2024-47810Foxit pdf editor use after free vulnerabilityA use-after-free vulnerability exists in the way Foxit Reader 2024.3.0.26795 handles a 3D page object. A specially crafted Javascript code inside a m…EPSS 1.3%8.8CVE-2024-49576Foxit pdf editor use after free vulnerabilityA use-after-free vulnerability exists in the way Foxit Reader 2024.3.0.26795 handles a checkbox CBF_Widget object. A specially crafted Javascript cod…EPSS 1.1%8.8CVE-2024-9254Foxit pdf editor use after free vulnerabilityFoxit PDF Reader Annotation Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code …EPSS 0.88%

Source: NIST National Vulnerability Database (record CVE-2021-21831), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.