Skip to content
Info disclosure Advisory Advanced CVE-2025-27931

PDF-XChange Editor EMF File EMR_POLYDRAW16 PT_BEZIERTO Out-Of-Bounds Read Vulnerability

An out-of-bounds read vulnerability exists in PDF-XChange Editor when processing EMF files with a crafted EMR_POLYDRAW16 record containing PT_BEZIERTO point types. An attacker could exploit this to read arbitrary memory within the process, potentially disclosing sensitive information.

KPC Follow

Originally disclosed on Cisco Talos

Medium 6.5 View original

An out-of-bounds read vulnerability exists in the EMF functionality of PDF-XChange Editor version 10.5.2.395. By using a specially crafted EMF file, an attacker could exploit this vulnerability to perform an out-of-bounds read, potentially leading to the disclosure of sensitive information.

KPC, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the code fails to check that an index used to access the abTypes array stays within bounds when processing PT_BEZIERTO point types.

What the attacker needed

Victim opens a crafted EMF file

The fix

The vendor released a patch on 2025-07-22.

How it was found

  1. Open a crafted EMF file in PDF-XChange Editor to trigger conversion.
  2. The EMR_POLYDRAW16 record is processed, reading cpts and allocating a buffer for aPoints.
  3. The abTypes array is read, and when it contains PT_BEZIERTO, an index is incremented without bounds checking.
  4. The out-of-bounds read occurs when accessing abTypes with the unchecked index.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

PDF-XChange Editor can convert EMF image files to PDF. A specially crafted EMF file can make the program read past the end of a buffer, which may leak data from the program's memory. An attacker could use this to steal sensitive information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by KPC

View all

102 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.