Safeguard
Vulnerability Analysis•

CVE-2023-27342: High EMF Pointer Flaw in PDF-XChange Editor

CVE-2023-27342 is a high severity untrusted pointer dereference in the EMF parser of PDF-XChange Editor that can lead to code execution. See ZDI-23-354.

Safeguard Security Team
4 min read

CVE-2023-27342 is a high severity (CVSS 7.8) untrusted pointer dereference in how PDF-XChange Editor handles EMF files. Opening a crafted file could lead to code execution. Update to the newest Editor build, and check the vendor history page for the build that carries the fix.

What's affected

The record lists PDF-XChange Editor build 9.4.364.0, and the PDF-Tools package built from the same code. The Zero Day Initiative advisory ZDI-23-354 says the vendor has issued an update and points to the vendor's version history page. It does not give a fixed build number, and I could not find one in the pages I could read. Treat the fixed version as unconfirmed and read the version history yourself.

The score is consistent across sources. The record and ZDI both show 7.8 with a local attack vector, low complexity, no privileges and user interaction required. High impact is rated for confidentiality, integrity and availability. "Local" here means the file is opened on the victim's machine, even though the advisory text also says the target must visit a malicious page or open a malicious file.

The flaw is in the parsing of EMF files, a Windows image metafile format. The issue results from a lack of proper validation of a user-supplied value before it is dereferenced as a pointer. The weakness class is CWE-822. ZDI says the code runs in the context of the current process, so the attacker gets the rights of the user who opened the file. The advisory dates the vendor report to 28 September 2022, with public release on 31 March 2023.

How to check if you're exposed

PDF-XChange Editor is a Windows desktop application. Read the installed version from Help, then About inside the application, or inventory it with PowerShell:

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*,
  HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* |
  Where-Object DisplayName -like "*PDF-XChange*" |
  Select-Object DisplayName, DisplayVersion

The record names build 9.4.364.0 for the Editor and for the PDF-Tools package that shares its code. I could not read which later build fixed this issue, because the vendor's version history page only showed its newest entries in the text available to me. Open that page, search for the item that matches the advisory, and note the build number. Then compare it with what your inventory reports. Treat anything older than that build as exposed.

To see which of your own applications pull in affected components, run the free in-browser dependency scan at gold.safeguard.sh/scan.

What to do now

  1. Find all machines with PDF-XChange Editor or PDF-Tools and record their build numbers.
  2. Update to the current release from the vendor, and confirm the fix entry in the version history.
  3. Turn on automatic updates for the application where your policy allows.
  4. Tell users to open PDF-related files only from sources they trust until the update lands.
  5. Remove the application from machines that do not need it.

Why it matters

An untrusted pointer dereference means the program takes a number from the file and uses it as a memory address. If the number is not checked, the file decides what memory the program touches. That differs from a buffer overflow, since no size is exceeded, but the effect on control of the process can be similar.

The class is CWE-822. ZDI says the code runs in the context of the current process. The record does not flag the CVE in CISA KEV. EMF is a Windows specific format, so this issue fits a Windows only desktop product.

Quick check

What is an untrusted pointer dereference?

The program reads a value from the file and treats it as a memory address without checking it.

Is there a sibling EMF issue?

Yes. CVE-2023-27343 is an out-of-bounds write in EMF parsing, with advisory ZDI-23-355.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

We email you a link to confirm, and only then add you to the list. Unsubscribe in one click. Privacy

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.