CVE-2021-21831
Foxit PDF Reader vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2021-21831) was discovered in the JavaScript engine of Foxit Software's PDF Reader version 10.1.3.37598. The vulnerability was discovered by Aleksandar Nikolic of Cisco Talos and publicly disclosed on July 27, 2021, following the initial vendor disclosure on April 28, 2021 (Talos Report).

Technical details

The vulnerability exists in the way Foxit Reader handles removal of fields from a page through the removeField method. When called with an empty string argument, the method incorrectly handles UTF8 string conversion, leading to removal of all fields in a document contrary to specifications. This behavior has significant side effects when executed inside an event handler, resulting in a use-after-free condition. The vulnerability has been assigned a CVSS v3.0 score of 8.8 (HIGH) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H and is classified as CWE-416 (Use After Free) (Talos Report).

Impact

If successfully exploited, this vulnerability could lead to arbitrary code execution on the victim's machine. The vulnerability affects both standalone PDF viewing and browser plugin scenarios, potentially allowing attackers to execute malicious code with the same privileges as the affected application (Talos Report).

Mitigation and workarounds

Users are advised to update to Foxit Reader version 11.0.0.49893 or later, which contains fixes for this vulnerability. The fix was released as part of a security update addressing multiple vulnerabilities in the product (Talos Report).

Additional resources


SourceThis report was generated using AI

Related Foxit PDF Reader vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9330HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoNoSep 02, 2025
CVE-2025-9329HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025
CVE-2025-9328HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025
CVE-2025-9326HIGH7.8
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025
CVE-2025-9327MEDIUM5.5
  • Foxit PDF ReaderFoxit PDF Reader
  • cpe:2.3:a:foxit:pdf_reader
NoYesSep 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management