CVE-2025-59801 Memory corruption in GhostXPS
A stack-based buffer overflow in GhostXPS allows attackers to execute arbitrary code or cause denial of service via crafted TIFF data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-59801?
CVE-2025-59801 is a medium-severity memory corruption vulnerability in Artifex GhostXPS, published on 22 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In Artifex GhostXPS before 10.06.0, there is a stack-based buffer overflow in xps_unpredict_tiff in xpstiff.c because the samplesperpixel value is not checked.
Weakness: CWE-121
Which versions are affected by CVE-2025-59801?
How do I fix CVE-2025-59801?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-59801 being exploited?
There is no known exploitation of CVE-2025-59801 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2025-59801, DEBIAN-CVE-2025-59801, ECHO-44a7-5b9c-a1d1, GHSA-h582-rvj3-8qw3, MINI-4g66-vjqg-27g8.