VULNERABILITY INTELLIGENCE
CVE-2021-31438
CVSS score7.8 HIGH
EPSS probability2.76%
CISA KEVNot currently listed
Published2021-04-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- zdi-disclosures@trendmicro.com: CWE-121
- nvd@nist.gov: CWE-787
Primary references
- zdi-disclosures@trendmicro.com — Vendor Advisory
- zdi-disclosures@trendmicro.com — Third Party Advisory, VDB Entry
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory, VDB Entry