CVE-2025-6660 PDF-XChange Editor GIF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious GIF files in PDF-XChange Editor due to a heap buffer overflow.

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-2025-6660?

CVE-2025-6660 is a high-severity memory corruption vulnerability in Pdf-Xchange Pdf-Tools, published on 25 Jun 2025. 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

PDF-XChange Editor GIF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. 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 GIF 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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-26763.

Weakness: CWE-122

Which versions are affected by CVE-2025-6660?

It affects 3 products.

Products include Pdf-Xchange Pdf-Tools, Pdf-Xchange Pdf-Xchange Editor, Pdf-Xchange Pdf-Xchange Pro.

How do I fix CVE-2025-6660?

No fix has been published for CVE-2025-6660 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-2025-6660 being exploited?

There is no known exploitation of CVE-2025-6660 in the wild and no public exploit code.

All Pdf-Xchange Pdf-Tools vulnerabilities

Sources

Also known as GHSA-8663-jqxc-7w29.

Is CVE-2025-6660 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free