CVE-2021-34968 Foxit PDF Editor transitionToState Use-After-Free Remote Code Execution Vulnerability

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious files in Foxit PDF Editor due to a use-after-free flaw.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-34968?

CVE-2021-34968 is a high-severity use after free vulnerability in Foxit Pdf Editor, published on 7 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Foxit PDF Editor transitionToState Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Editor. 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 implementation of the transitionToState method. 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-14370.

Weakness: CWE-416

Which versions are affected by CVE-2021-34968?

It affects 2 products.

Products include Foxit Pdf Editor, Foxit Pdf Reader.

How do I fix CVE-2021-34968?

No fix has been published for CVE-2021-34968 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-34968 being exploited?

There is no known exploitation of CVE-2021-34968 in the wild and no public exploit code.

All Foxit Pdf Editor vulnerabilities

Sources

Also known as GHSA-f44g-qcvc-qmmq.

Is CVE-2021-34968 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free