Vulnerability · Published Jul 12, 2025 · Assigned by VulDB
CVE-2025-7462Artifex GhostPDL New Output File Open Error gdevpdf.c pdf_ferror null pointer dereference
Medium 4.3
In plain English
A medium-severity null pointer dereference in GhostPDL from Artifex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u8 | DSA-6024-1 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u8 | DEBIAN-CVE-2025-7462 |
| Debian:13 | ghostscript | 10.05.1~dfsg-1+deb13u1 | DSA-6024-1 |
| Debian:13 | ghostscript | 10.05.1~dfsg-1+deb13u1 | DEBIAN-CVE-2025-7462 |
| Debian:14 | ghostscript | 10.05.1~dfsg-2 | DEBIAN-CVE-2025-7462 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.13 | USN-7782-1 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.13 | UBUNTU-CVE-2025-7462 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.8 | UBUNTU-CVE-2025-7462 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.8 | USN-7782-1 |
| Ubuntu:25.10 | ghostscript | 10.05.0dfsg1-0ubuntu4 | UBUNTU-CVE-2025-7462 |
| Ubuntu:26.04:LTS | ghostscript | 10.05.0dfsg1-0ubuntu4 | UBUNTU-CVE-2025-7462 |
Affected products (as reported)
Weakness: CWE-476, CWE-404 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
References
- VDB-316113 | Artifex GhostPDL New Output File Open Error gdevpdf.c pdf_ferror null pointer dereference vdb-entry, technical-description
- VDB-316113 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #610173 | ArtifexSoftware GhostPDL 3989415a5b8e99b9d1b87cc9902bde9b7cdea145 NULL Pointer Dereference third-party-advisory
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=619a106ba4c4 patch
- https://artifex.com/ product
- https://lists.debian.org/debian-lts-announce/2025/10/msg00010.html