CVE-2025-58364: cups: Remote DoS via null dereference
cups: Remote DoS via null dereference
Other sources
Null Pointer Dereference vulnerability in the ippreadio() function of the CUPS printing system. The flaw is caused by unsafe deserialization and improper validation of crafted printer attribute responses. When ippValidateAttributes() processes such responses, a null pointer dereference occurs, leading to application crash. This issue can be exploited remotely within the local subnet in default configurations, and in some cases over the network if IPP services are exposed. Exploitation requires no authentication or user interaction, allowing attackers to disrupt availability of printing services on affected systems.
— Red Hat
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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-58364?
CVE-2025-58364 is classified as a remote denial-of-service (DoS) vulnerability.
How do I fix CVE-2025-58364?
To fix CVE-2025-58364, update OpenPrinting CUPS to version 2.4.13 or later.
What are the affected versions for CVE-2025-58364?
CVE-2025-58364 affects OpenPrinting CUPS versions 2.4.12 and earlier.
What causes CVE-2025-58364?
CVE-2025-58364 is caused by unsafe deserialization and validation of printer attributes leading to a null dereference in the libcups library.
Can CVE-2025-58364 be exploited remotely?
Yes, CVE-2025-58364 can be exploited remotely to cause a denial-of-service condition.