CVE-2021-34970

MEDIUM
Published May 7, 2024 Modified Aug 13, 2025 CWE-134

Description

Foxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information 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 implementation of the print method. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process. Was ZDI-CAN-14849.

Is your site exposed to CVE-2021-34970?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.5
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Weakness Type (CWE)

CWE-134 CWE-134

Affected Products

Vendor Product
foxit pdf_editor
foxit pdf_editor
foxit pdf_editor
foxit pdf_reader
microsoft windows

References

Frequently Asked Questions

What is CVE-2021-34970? +
Foxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information 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 implementation of the print method. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process. Was ZDI-CAN-14849. It has a CVSS v3.1 base score of 5.5 (MEDIUM).
How severe is CVE-2021-34970? +
CVE-2021-34970 has a CVSS v3.1 score of 5.5 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2021-34970? +
CVE-2021-34970 affects products from foxit, microsoft, specifically: pdf_editor, pdf_reader, windows. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2021-34970? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2021-34970 — free, no signup required.