Out-of-bounds write in cups-filters and libcupsfilters - CVE-2025-64503
Published: November 13, 2025
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input in pdftoraster. A remote attacker can pass a specially crafted PDF file with a large MediaBox value to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.
Affected software
libcupsfilters
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
cups-filters
cups-filters-foomatic-rip
cups-filters-cups-browsed-debuginfo
cups-filters-debugsource
cups-filters-foomatic-rip-debuginfo
cups-filters-ghostscript-debuginfo
cups-filters-ghostscript
cups-filters-debuginfo
cups-filters-cups-browsed
cups-filters (Ubuntu package)
cups-filters-devel
cups-filters-help
libcupsfilters (Ubuntu package)
How to mitigate CVE-2025-64503
libcupsfilters - update to 2.1.2
cups-filters - addressed in versions 1.0.58-19.35.1, 1.25.0-150200.3.25.1
cups-filters-foomatic-rip - update to 1.0.58-19.35.1
cups-filters-cups-browsed-debuginfo - update to 1.0.58-19.35.1
cups-filters-debugsource - addressed in versions 1.0.58-19.35.1, 1.25.0-150200.3.25.1
cups-filters-foomatic-rip-debuginfo - update to 1.0.58-19.35.1
cups-filters-ghostscript-debuginfo - update to 1.0.58-19.35.1
cups-filters-ghostscript - update to 1.0.58-19.35.1
cups-filters-debuginfo - addressed in versions 1.0.58-19.35.1, 1.25.0-150200.3.25.1
cups-filters-cups-browsed - update to 1.0.58-19.35.1
cups-filters (Ubuntu package) - addressed in versions 1.8.3-2ubuntu3.5+esm3, 1.20.2-0ubuntu3.3+esm2, 1.27.4-1ubuntu0.4+esm1, 1.28.15-0ubuntu1.5, 2.0.0-0ubuntu4.1, 2.0.1-0ubuntu3.25.04.1, 2.0.1-0ubuntu3.25.10.1
cups-filters-devel - update to 1.25.0-150200.3.25.1
cups-filters - update to 1.28.9-6
cups-filters-debuginfo - update to 1.28.9-6
cups-filters-debugsource - update to 1.28.9-6
cups-filters-devel - update to 1.28.9-6
cups-filters-help - update to 1.28.9-6
libcupsfilters (Ubuntu package) - addressed in versions 2.0.0-0ubuntu7.2, 2.1.1-0ubuntu2.1, 2.1.1-0ubuntu3.1