CVE-2025-7462 Artifex GhostPDL New Output File Open Error gdevpdf.c pdf_ferror null pointer dereference

Medium 5.3 Published Updated

Remote attackers can cause a denial of service via null pointer dereference in GhostPDL's PDF error handler, requiring a patch.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-7462?

CVE-2025-7462 is a medium-severity vulnerability in Artifex GhostPDL, published on 12 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability was found in Artifex GhostPDL up to 3989415a5b8e99b9d1b87cc9902bde9b7cdea145. It has been classified as problematic. This affects the function pdf_ferror of the file devices/vector/gdevpdf.c of the component New Output File Open Error Handler. The manipulation leads to null pointer dereference. It is possible to initiate the attack remotely. The identifier of the patch is 619a106ba4c4abed95110f84d5efcd7aee38c7cb. It is recommended to apply a patch to fix this issue.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-7462?

How do I fix CVE-2025-7462?

Apply the vendor's patch.

Is CVE-2025-7462 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-7462, GHSA-hf2c-wp2p-xqr9, OESA-2026-1773, OESA-2026-2872, OESA-2026-2873, OESA-2026-2874 and 2 more.

Is CVE-2025-7462 in your software?

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

Check your SBOMs for free