CVE-2019-6776: Foxit PhantomPDF addWatermarkFromText Use-After-Free Remote Code Execution Vulnerability

Published Oct 4, 2019
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.5.0.20723. 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 removeField method when processing watermarks within AcroForms. 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 in conjunction with other vulnerabilities to execute code in the context of the current process. Was ZDI-CAN-8801.

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF. 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 removeField method when processing watermarks within AcroForms. 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 in conjunction with other vulnerabilities to execute code in the context of the current process.

ZDI

Affected Software

5 affected components
Foxit PhantomPDF
Foxitsoftware Phantompdf<=8.3.10.42705
Foxitsoftware Phantompdf>=9.0<=9.5.0.20723
Microsoft Windows
Foxitsoftware Reader<=9.5.0.20723

Event History

Oct 4, 2019
CVE Published
via MITRE·05:37 PM
Data Sourced
via MITRE·05:37 PM
DescriptionSeverityWeakness
Jan 29, 2025
Advisory Published
via ZDI·11:29 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-6776?

CVE-2019-6776 has been assigned a high severity rating due to its potential to allow remote code execution.

2

How do I fix CVE-2019-6776?

To fix CVE-2019-6776, users should update Foxit PhantomPDF and Foxit Reader to the latest versions that address this vulnerability.

3

Who is affected by CVE-2019-6776?

CVE-2019-6776 affects users of Foxit PhantomPDF versions up to and including 9.5.0.20723 and Foxit Reader versions up to 9.5.0.20723.

4

What type of attack vector is associated with CVE-2019-6776?

The attack vector associated with CVE-2019-6776 requires user interaction, such as visiting a malicious web page or opening a malicious file.

5

What are the potential consequences of exploiting CVE-2019-6776?

Exploiting CVE-2019-6776 can lead to arbitrary code execution on the affected system, potentially compromising sensitive data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203