Out-of-bounds write in cups - CVE-2025-61915

 

Out-of-bounds write in cups - CVE-2025-61915

Published: November 27, 2025


Vulnerability identifier: #VU118817
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-61915
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when parsing IPv6 address within the get_addr_and_mask() function. A local user in the lpadmin group can use the cups web UI to change the configuration and crash the daemon. 


Affected software

cups
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
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
SUSE Linux Micro
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Basesystem Module
Desktop Applications Module
Development Tools Module
openSUSE Leap
Ubuntu
openEuler
cups
cups-debugsource
cups-client
cups-devel
cups-libs-debuginfo
cups-libs-32bit
cups-debuginfo
cups-libs-debuginfo-32bit
cups-libs
cups-client-debuginfo
cups (Ubuntu package)
cups (Red Hat package)
cups-lpd
cups-doc
cups-filesystem
cups-ipptool
cups-ddk
cups-devel-32bit
libcupsppdc1-32bit-debuginfo
libcupscgi1-32bit
libcupsimage2-32bit
libcupscgi1-32bit-debuginfo
libcups2-32bit-debuginfo
libcupsmime1-32bit
libcupsmime1-32bit-debuginfo
libcups2-32bit
libcupsimage2-32bit-debuginfo
libcupsppdc1-32bit
libcupsppdc1
cups-ddk-debuginfo
libcups2
libcupsimage2
libcupscgi1-debuginfo
libcupsimage2-debuginfo
libcupsmime1-debuginfo
libcups2-debuginfo
libcupscgi1
libcupsppdc1-debuginfo
cups-config
libcupsmime1
cups-help
cups-printerapp

How to mitigate CVE-2025-61915

Install updates from vendor's website.

cups - update to 2.4.15
cups - addressed in versions 1.7.5-20.57.1, 2.2.7-150000.3.77.1
cups-debugsource - addressed in versions 1.7.5-20.57.1, 2.2.7-150000.3.77.1, 2.4.16-1.1, 2.4.16-160000.1.1
cups-client - addressed in versions 1.7.5-20.57.1, 2.2.7-150000.3.77.1
cups-devel - addressed in versions 1.7.5-20.57.1, 2.2.7-150000.3.77.1
cups-libs-debuginfo - update to 1.7.5-20.57.1
cups-libs-32bit - update to 1.7.5-20.57.1
cups-debuginfo - addressed in versions 1.7.5-20.57.1, 2.2.7-150000.3.77.1, 2.4.16-160000.1.1
cups-libs-debuginfo-32bit - update to 1.7.5-20.57.1
cups-libs - update to 1.7.5-20.57.1
cups-client-debuginfo - addressed in versions 1.7.5-20.57.1, 2.2.7-150000.3.77.1
cups (Ubuntu package) - addressed in versions 2.1.3-4ubuntu0.11+esm11, 2.2.7-1ubuntu2.10+esm9, 2.3.1-9ubuntu1.9+esm3, 2.4.1op1-1ubuntu4.15, 2.4.7-1.2ubuntu7.7, 2.4.12-0ubuntu1.4, 2.4.12-0ubuntu3.3
cups (Red Hat package) - addressed in versions 2.2.6-66.el8_10, 2.4.10-12.el10_1.2
cups-libs - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-lpd - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-doc - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-filesystem - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-client - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-devel - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-ipptool - addressed in versions 2.2.6-66.0.1, 2.4.10-3, 2.4.10-5
cups-ddk - update to 2.2.7-150000.3.77.1
cups-devel-32bit - update to 2.2.7-150000.3.77.1
libcupsppdc1-32bit-debuginfo - update to 2.2.7-150000.3.77.1
libcupscgi1-32bit - update to 2.2.7-150000.3.77.1
libcupsimage2-32bit - update to 2.2.7-150000.3.77.1
libcupscgi1-32bit-debuginfo - update to 2.2.7-150000.3.77.1
libcups2-32bit-debuginfo - update to 2.2.7-150000.3.77.1
libcupsmime1-32bit - update to 2.2.7-150000.3.77.1
libcupsmime1-32bit-debuginfo - update to 2.2.7-150000.3.77.1
libcups2-32bit - update to 2.2.7-150000.3.77.1
libcupsimage2-32bit-debuginfo - update to 2.2.7-150000.3.77.1
libcupsppdc1-32bit - update to 2.2.7-150000.3.77.1
libcupsppdc1 - update to 2.2.7-150000.3.77.1
cups-ddk-debuginfo - update to 2.2.7-150000.3.77.1
libcups2 - addressed in versions 2.2.7-150000.3.77.1, 2.4.16-1.1, 2.4.16-160000.1.1
libcupsimage2 - update to 2.2.7-150000.3.77.1
libcupscgi1-debuginfo - update to 2.2.7-150000.3.77.1
libcupsimage2-debuginfo - update to 2.2.7-150000.3.77.1
libcupsmime1-debuginfo - update to 2.2.7-150000.3.77.1
libcups2-debuginfo - addressed in versions 2.2.7-150000.3.77.1, 2.4.16-1.1, 2.4.16-160000.1.1
libcupscgi1 - update to 2.2.7-150000.3.77.1
libcupsppdc1-debuginfo - update to 2.2.7-150000.3.77.1
cups-config - addressed in versions 2.2.7-150000.3.77.1, 2.4.16-1.1, 2.4.16-160000.1.1
libcupsmime1 - update to 2.2.7-150000.3.77.1
cups - addressed in versions 2.2.13-23, 2.4.0-18, 2.4.7-11
cups-devel - addressed in versions 2.2.13-23, 2.4.0-18, 2.4.7-11
cups-libs - addressed in versions 2.2.13-23, 2.4.0-18, 2.4.7-11
cups-help - addressed in versions 2.2.13-23, 2.4.0-18, 2.4.7-11
cups-debugsource - addressed in versions 2.2.13-23, 2.4.0-18, 2.4.7-11
cups-debuginfo - addressed in versions 2.2.13-23, 2.4.0-18, 2.4.7-11
cups-lpd - addressed in versions 2.4.0-18, 2.4.7-11
cups-filesystem - addressed in versions 2.4.0-18, 2.4.7-11
cups-printerapp - addressed in versions 2.4.0-18, 2.4.7-11
cups-client - addressed in versions 2.4.0-18, 2.4.7-11
cups-ipptool - addressed in versions 2.4.0-18, 2.4.7-11
cups-printerapp - addressed in versions 2.4.10-3, 2.4.10-5

External References

Related Security Bulletins