CVE-2021-31438: Foxit Studio Photo PSP File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.931. 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 PSP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12443.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo. 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 PSP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-31438?
The severity of CVE-2021-31438 is high.
What software is affected by CVE-2021-31438?
Foxit Studio Photo 3.6.6.931 is affected by CVE-2021-31438.
How can this vulnerability be exploited?
This vulnerability can be exploited by remote attackers who can execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.931 by tricking the user into visiting a malicious page or opening a malicious file.
Is user interaction required to exploit CVE-2021-31438?
Yes, user interaction is required to exploit CVE-2021-31438.
How can I fix CVE-2021-31438?
To fix CVE-2021-31438, it is recommended to update Foxit Studio Photo to version 3.6.6.933 or later.