Vulnerability · Published Sep 11, 2025 · Assigned by GitHub_M
CVE-2025-58364cups: Remote DoS via null dereference
Medium 6.5
In plain English
A medium-severity improper input validation in cups from OpenPrinting. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cups | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:8 | cups-client | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups-client | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:8 | cups-devel | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups-devel | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:10 | cups-filesystem | 1:2.4.10-11.el10_0.1 | ALSA-2025:15701 |
| AlmaLinux:8 | cups-filesystem | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups-filesystem | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:8 | cups-ipptool | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups-ipptool | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:8 | cups-libs | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups-libs | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:8 | cups-lpd | 1:2.2.6-64.el8_10 | ALSA-2025:22063 |
| AlmaLinux:9 | cups-lpd | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| AlmaLinux:9 | cups-printerapp | 1:2.3.3op2-33.el9_6.1 | ALSA-2025:15700 |
| Alpine:v3.20 | cups | 2.4.16-r0 | ALPINE-CVE-2025-58364 |
| Alpine:v3.21 | cups | 2.4.16-r0 | ALPINE-CVE-2025-58364 |
| Alpine:v3.22 | cups | 2.4.16-r0 | ALPINE-CVE-2025-58364 |
| Alpine:v3.23 | cups | 2.4.13-r0 | ALPINE-CVE-2025-58364 |
| Alpine:v3.24 | cups | 2.4.13-r0 | ALPINE-CVE-2025-58364 |
| Debian:12 | cups | 2.4.2-3+deb12u9 | DEBIAN-CVE-2025-58364 |
| Debian:12 | cups | 2.4.2-3+deb12u9 | DSA-5998-1 |
| Debian:13 | cups | 2.4.10-3+deb13u1 | DEBIAN-CVE-2025-58364 |
| Debian:13 | cups | 2.4.10-3+deb13u1 | DSA-5998-1 |
| Debian:14 | cups | 2.4.10-4 | DEBIAN-CVE-2025-58364 |
| Rocky Linux:10 | cups | 1:2.4.10-11.el10_0.1 | RLSA-2025:15701 |
| Rocky Linux:8 | cups | 1:2.2.6-64.el8_10 | RLSA-2025:22063 |
| Rocky Linux:9 | cups | 1:2.3.3op2-33.el9_6.1 | RLSA-2025:15700 |
| Ubuntu:22.04:LTS | cups | 2.4.1op1-1ubuntu4.12 | USN-7745-1 |
| Ubuntu:22.04:LTS | cups | 2.4.1op1-1ubuntu4.12 | UBUNTU-CVE-2025-58364 |
| Ubuntu:24.04:LTS | cups | 2.4.7-1.2ubuntu7.4 | USN-7745-1 |
| Ubuntu:24.04:LTS | cups | 2.4.7-1.2ubuntu7.4 | UBUNTU-CVE-2025-58364 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenPrinting | cups | < 2.4.13 |
Weakness: CWE-20, CWE-476 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-7qx3-r744-6qv4 x_refsource_CONFIRM
- https://github.com/OpenPrinting/cups/commit/e58cba9d6fceed4242980e51dbd1302cf638ab1d x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/09/msg00013.html
- http://www.openwall.com/lists/oss-security/2025/09/11/2