CVE-2021-34971 Foxit PDF Reader JPG2000 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code by tricking users into opening malicious PDF files with crafted JPG2000 data.
- 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-34971?
CVE-2021-34971 is a high-severity memory corruption 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 Reader JPG2000 File Parsing Heap-based Buffer Overflow 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 parsing of PDF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-14812.
Weakness: CWE-122
Which versions are affected by CVE-2021-34971?
It affects 2 products.
Products include Foxit Pdf Editor, Foxit Pdf Reader.
How do I fix CVE-2021-34971?
No fix has been published for CVE-2021-34971 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-34971 being exploited?
There is no known exploitation of CVE-2021-34971 in the wild and no public exploit code.
Other vulnerabilities in Foxit Pdf Editor
Sources
Also known as GHSA-f5c2-3w4r-7h7c.