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.
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.
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
- Open a crafted EMF file in PDF-XChange Editor to trigger conversion.
- The EMR_POLYDRAW16 record is processed, reading cpts and allocating a buffer for aPoints.
- The abTypes array is read, and when it contains PT_BEZIERTO, an index is incremented without bounds checking.
- 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.