Heap-based buffer overflow in cups-filters - CVE-2025-64524

 

Heap-based buffer overflow in cups-filters - CVE-2025-64524

Published: November 20, 2025


Vulnerability identifier: #VU118651
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-64524
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to a boundary error within the CompressData function in rastertopclx filter. A remote user can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

cups-filters
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
cups-filters
cups-filters-cups-browsed
cups-filters-debuginfo
cups-filters-ghostscript
cups-filters-foomatic-rip
cups-filters-cups-browsed-debuginfo
cups-filters-debugsource
cups-filters-ghostscript-debuginfo
cups-filters-foomatic-rip-debuginfo
cups-filters (Ubuntu package)
cups-filters-devel
cups-filters-help
cups-filters-doc
cups-filters-driverless

How to mitigate CVE-2025-64524

Install updates from vendor's website.

cups-filters - 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-debuginfo - addressed in versions 1.0.58-19.35.1, 1.25.0-150200.3.25.1
cups-filters-ghostscript - update to 1.0.58-19.35.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-ghostscript-debuginfo - update to 1.0.58-19.35.1
cups-filters-foomatic-rip-debuginfo - 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-help - addressed in versions 1.26.1-8, 1.28.9-7, 1.28.15-6
cups-filters-debugsource - addressed in versions 1.26.1-8, 1.28.9-7, 1.28.15-6
cups-filters-debuginfo - addressed in versions 1.26.1-8, 1.28.9-7, 1.28.15-6
cups-filters - addressed in versions 1.26.1-8, 1.28.9-7, 1.28.15-6
cups-filters-devel - addressed in versions 1.26.1-8, 1.28.9-7, 1.28.15-6
cups-filters-doc - update to 2.0.1-1
cups-filters-driverless - update to 2.0.1-1
cups-filters - update to 2.0.1-1

External References

Related Security Bulletins