CVE-2025-58364 cups: Remote DoS via null dereference
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianNetwork Appliances
Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.12 and earlier, an unsafe deserialization and validation of printer attributes causes null dereference in the libcups library. This is a remote DoS vulnerability available in local subnet in default configurations. It can cause the cups & cups-browsed to crash, on all the machines in local network who are listening for printers (so by default for all regular linux machines). On systems where the vulnerability CVE-2024-47176 (cups-filters 1.x/cups-browsed 2.x vulnerability) was not fixed, and the firewall on the machine does not reject incoming communication to IPP port, and the machine is set to be available to public internet, attack vector "Network" is possible. The current versions of CUPS and cups-browsed projects have the attack vector "Adjacent" in their default configurations. Version 2.4.13 contains a patch for CVE-2025-58364.
Upgrade path
13 packages: 12 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cbl-mariner cups(CBL-Mariner 2.0) | < 2.3.3op2-10; All versions | 2.3.3op2-10 | Partially fixed |
| alpine/cups(Alpine v3.20) | < 2.4.16-r0 | 2.4.16-r0 | Fixed |
| alpine/cups(Alpine v3.21) | < 2.4.16-r0 | 2.4.16-r0 | Fixed |
| alpine/cups(Alpine v3.22) | < 2.4.16-r0 | 2.4.16-r0 | Fixed |
| alpine/cups(Alpine v3.23) | < 2.4.13-r0 | 2.4.13-r0 | Fixed |
| alpine/cups(Alpine v3.24) | < 2.4.13-r0 | 2.4.13-r0 | Fixed |
| azure linux cups(Azure Linux 3.0) | < 2.4.13-1 | 2.4.13-1 | Fixed |
| debian/cups(Debian 12) | < 2.4.2-3+deb12u9; = 2.4.2-3; = 2.4.2-3+deb12u1; = 2.4.2-3+deb12u2 +6 more | 2.4.2-3+deb12u9 | Fixed |
| debian/cups(Debian 13) | < 2.4.10-3+deb13u1; = 2.4.10-3 | 2.4.10-3+deb13u1 | Fixed |
| debian/cups(Debian 14) | < 2.4.10-4; = 2.4.10-3 | 2.4.10-4 | Fixed |
| OpenPrinting cups | < 2.4.13; = < 2.4.13 | 2.4.13 | Fixed |
| ubuntu/cups(Ubuntu 22.04) | < 2.4.1op1-1ubuntu4.12 | 2.4.1op1-1ubuntu4.12 | Fixed |
| ubuntu/cups(Ubuntu 24.04) | < 2.4.7-1.2ubuntu7.4 | 2.4.7-1.2ubuntu7.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner cups(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux cups(Azure Linux:3.0) | < 2.4.13-1 | 2.4.13-1 |
| cbl-mariner cups(CBL-Mariner:2.0) | < 2.3.3op2-10 | 2.3.3op2-10 |
| debian/cups(Debian:12) | < 2.4.2-3+deb12u9 | 2.4.2-3+deb12u9 |
| debian/cups(Debian:12) | = 2.4.2-3 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u1 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u2 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u3 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u4 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u5 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u6 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u7 | No fix listed |
| debian/cups(Debian:12) | = 2.4.2-3+deb12u8 | No fix listed |
| debian/cups(Debian:13) | < 2.4.10-3+deb13u1 | 2.4.10-3+deb13u1 |
| debian/cups(Debian:13) | = 2.4.10-3 | No fix listed |
| debian/cups(Debian:14) | < 2.4.10-4 | 2.4.10-4 |
| debian/cups(Debian:14) | = 2.4.10-3 | No fix listed |
| OpenPrinting cups | = < 2.4.13 | No fix listed |
| ubuntu/cups(Ubuntu:22.04) | < 2.4.1op1-1ubuntu4.12 | 2.4.1op1-1ubuntu4.12 |
| alpine/cups(Alpine:v3.20) | < 2.4.16-r0 | 2.4.16-r0 |
| alpine/cups(Alpine:v3.21) | < 2.4.16-r0 | 2.4.16-r0 |
| alpine/cups(Alpine:v3.22) | < 2.4.16-r0 | 2.4.16-r0 |
| alpine/cups(Alpine:v3.23) | < 2.4.13-r0 | 2.4.13-r0 |
| alpine/cups(Alpine:v3.24) | < 2.4.13-r0 | 2.4.13-r0 |
| ubuntu/cups(Ubuntu:24.04) | < 2.4.7-1.2ubuntu7.4 | 2.4.7-1.2ubuntu7.4 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenPrinting cups | < 2.4.13 | 2.4.13 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-58364 vendor-advisory
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-7qx3-r744-6qv4 exploit vendor-advisory
- https://github.com/OpenPrinting/cups/commit/e58cba9d6fceed4242980e51dbd1302cf638ab1d patch
- lists.debian.org
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- USN-7745-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory