← back
CVE-2025-58364

cups: Remote DoS via null dereference

CVSS 6.5 MEDIUMEPSS 1.1%CWE-20CWE-476
In short

CUPS printing system has a flaw where it crashes when receiving specially crafted printer information over the network. This affects all computers on the same local network that are set up to discover printers automatically, potentially disrupting printing services.

Technical detail

Unsafe deserialization and insufficient validation of printer attributes in libcups (versions ≤2.4.12) causes null pointer dereference. Attack vector is Adjacent Network in default configurations; exploitation requires the attacker to be on the same subnet or network segment where printer discovery (mDNS/Bonjour) is active, resulting in denial of service via crash of CUPS daemon and cups-browsed processes.

Summary generated and translated by AI from the 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.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
OpenPrinting · cups

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →