SB2026101237 - Multiple vulnerabilities in cups



SB2026101237 - Multiple vulnerabilities in cups

Published: October 12, 2026 Updated: November 27, 2026

Security Bulletin ID SB2026101237
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 19
Exploitation vector Adjecent network
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 19 vulnerabilities.


1) CRLF injection (CVE-ID: N/A)

CWE-ID: CWE-93 - Improper Neutralization of CRLF Sequences ('CRLF Injection')

CVSSv4: 1 [CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote user on the local network to persistently override the client's default printer setting, potentially redirecting later print jobs to another available destination.

The vulnerability exists due to improper neutralization of newline characters in cups/dest.c when writing destination names to the user's printer options file. A remote user on the local network can influence destination names through a print server or by tampering with an unprotected IPP connection to override the saved default when the client saves the affected destination.


2) NULL pointer dereference (CVE-ID: N/A)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by crashing the CUPS scheduler and interrupting printing across all queues.

The vulnerability exists due to a null pointer dereference in the cupsd scheduler when job startup or serialization attempts to read the name of an IPP group separator retained as a job attribute. A local user can submit a malformed IPP print job to trigger the scheduler crash.


3) NULL pointer dereference (CVE-ID: N/A)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service in the CUPS print scheduler.

The vulnerability exists due to improper job lifetime management in cupsd when an idle temporary queue is removed without canceling its jobs, leaving Send-Document vulnerable to a null pointer dereference and Restart-Job vulnerable to a use-after-free. A local user can submit local print job requests that encounter this invalid state to disrupt printing.


4) NULL pointer dereference (CVE-ID: N/A)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to crash the CUPS scheduler and cause a denial of service.

The vulnerability exists due to a null pointer dereference in cupsdSetJobState when the shared Purge-Jobs and Cancel-Jobs handler passes it a failed job lookup after purging a job. A local user can submit a malformed local Purge-Jobs request to terminate the scheduler.


5) Use-after-free (CVE-ID: N/A)

CWE-ID: CWE-416 - Use After Free

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by crashing the CUPS scheduler.

The vulnerability exists due to a use-after-free in cupsd when the scheduler starts a job and reads the cached job-sheets attribute after subscription cleanup has freed it. A local user can submit a malformed IPP job request to cause the scheduler to terminate.


6) Missing Authorization (CVE-ID: N/A)

CWE-ID: CWE-862 - Missing Authorization

CVSSv4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local privileged user to retrieve spooled print documents that the target printer's policy would deny.

The vulnerability exists due to missing per-printer authorization in get_document() when the CUPS-Get-Document handler applies the server-wide DefaultPolicy instead of the target printer's OpPolicy. A local privileged user can request a spooled document under a more permissive default policy to bypass the printer's retrieval restrictions.


7) Server-Side Request Forgery (SSRF) (CVE-ID: N/A)

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to obtain the root CUPS Local authentication certificate and use it to read protected scheduler configuration.

The vulnerability exists due to missing peer verification in libcups Local authentication when it handles a challenge over a Unix-domain socket. A local user can use an encoded printer URI in CUPS-Create-Local-Printer, including through a separate printer-name parsing regression, to direct the scheduler to an untrusted socket and obtain the certificate.


8) NULL pointer dereference (CVE-ID: N/A)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 5.3 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker on the local network to cause a denial of service in a CUPS process that validates IPP responses.

The vulnerability exists due to a null pointer dereference in ippValidateAttribute when the IPP parser passes a text attribute with a missing string value to the validator. A remote attacker on the local network can send a malformed IPP response from a printer or print server to crash a CUPS client or its IPP printing backend.


9) Infinite loop (CVE-ID: N/A)

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to make the CUPS scheduler unresponsive and potentially exhaust filesystem storage.

The vulnerability exists due to an infinite loop in the CUPS scheduler's save_auth_info() function when the loop index fails to advance while processing an unrecognized queue authentication requirement. A local user can submit a print job to an affected queue on a scheduler running as root to stall IPP request handling and cause unbounded writes to a spool file.


10) CRLF injection (CVE-ID: N/A)

CWE-ID: CWE-93 - Improper Neutralization of CRLF Sequences ('CRLF Injection')

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to modify a print queue's PPD configuration and, in affected Foomatic configurations, execute arbitrary commands as the lp system user.

The vulnerability exists due to improper newline neutralization in the CUPS scheduler's get_options() function when processing IPP octetString job attributes, allowing backend output to be misinterpreted as PPD control records. A local user can submit a crafted print job to alter the queue's PPD, which can lead to command execution when foomatic-rip processes a later job.


11) NULL pointer dereference (CVE-ID: CVE-2026-107655)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to a null pointer dereference in cupsdContinueJob() when starting print jobs containing embedded job-ticket comments. A local user can submit a crafted PostScript or PDF document containing the comment %cupsJobTicket: attributes-natural-language=xx to cause a denial of service.

Exploitation requires permission to submit jobs to an existing printer queue. The crash occurs before a document filter or backend is spawned.


12) Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) (CVE-ID: N/A)

CWE-ID: CWE-335 - Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

CVSSv4: 5.9 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to escalate privileges within cupsd by authenticating as root when the daemon runs as root.

The vulnerability exists due to predictable pseudorandom generator seeding in cupsd's local certificate generation when secure file removal reseeds the shared generator from the system clock on builds without arc4random. A local user can exploit the resulting certificate predictability to impersonate root within cupsd.


13) Resource exhaustion (CVE-ID: N/A)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service that prevents all users from submitting new print jobs.

The vulnerability exists due to improper timeout handling in cupsdCheckJobs() when an incomplete IPP Send-Document request suppresses submission timeouts for unrelated jobs. A local user can prevent pending jobs from expiring to exhaust the scheduler's job capacity.


14) Type Confusion (CVE-ID: N/A)

CWE-ID: CWE-843 - Type confusion

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by terminating the CUPS scheduler and interrupting the print queues and IPP services it manages.

The vulnerability exists due to type confusion in the cupsd create_subscriptions() and add_job_subscriptions() validation paths when processing the notify-natural-language IPP subscription attribute. A local user can send a specially crafted local IPP request containing a non-language value that is incorrectly interpreted as a NUL-terminated string during error-response generation, triggering an invalid or out-of-bounds read to terminate the scheduler. Repeated requests can sustain the denial of service.


15) Improper restriction of communication channel to intended endpoints (CVE-ID: N/A)

CWE-ID: CWE-923 - Improper Restriction of Communication Channel to Intended Endpoints

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to disclose the root administrator certificate token.

The vulnerability exists due to missing peer identity verification in cups/auth.c:cups_do_local_auth when handling local authentication challenges over Unix domain sockets. A local user can send a crafted local printer creation request and return a 401 authentication challenge from a controlled Unix domain socket to disclose the root administrator certificate token.

Exploitation is possible under the default configuration when cupsd runs as root. It requires access to the cupsd domain socket and the ability to listen on a controlled Unix domain socket.


16) Heap-based buffer overflow (CVE-ID: N/A)

CWE-ID: CWE-122 - Heap-based Buffer Overflow

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in the get_options() and ipp_length() functions in cupsd when processing IPP Print-Job requests containing many INT_MIN resolution values. A local user can submit a specially crafted request that causes subsequent unbounded string copies to write beyond the allocated options buffer to cause a denial of service.

Exploitation requires at least one existing print queue. The default configuration exposes the service through loopback and domain-socket listeners, and the Print-Job operation does not require authentication.


17) Stack-based buffer overflow (CVE-ID: N/A)

CWE-ID: CWE-121 - Stack-based buffer overflow

CVSSv4: 2 [CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a remote privileged user on the local network to cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in backendSNMPSupplies() in the CUPS network backends when formatting marker-levels from printer-supplied SNMP replies. A remote privileged user on the local network can supply crafted SNMP replies containing supply levels and maximum capacities that produce oversized percentage values to cause a denial of service.

Exploitation requires an existing classic driver or vendor-PPD queue using socket://, lpd:// or ipp:// with SNMP supply polling enabled. IPP Everywhere and raw queues are not affected. Spoofed replies must reach the backend's ephemeral UDP port while it polls.


18) Stack-based buffer overflow (CVE-ID: N/A)

CWE-ID: CWE-121 - Stack-based buffer overflow

CVSSv4: 2 [CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a remote privileged user to cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in backend_init_supplies() in backend/snmp-supplies.c when assembling marker-names from SNMP supply descriptions without checking the remaining buffer capacity. A remote privileged user can supply specially crafted SNMP responses to cause a denial of service.

Exploitation requires SNMP supply polling to be enabled. Third-party injection requires the ability to observe and inject SNMP traffic, but does not require controlling or spoofing the configured printer because response sender addresses are not validated. Persistent failure requires a writable and reusable SNMP cache.


19) Resource exhaustion (CVE-ID: CVE-2026-107885)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by preventing new print job submissions.

The vulnerability exists due to improper job-specific handling of submission timeouts in cupsdCheckJobs() in scheduler/job.c when processing an incomplete Send-Document request. A local user can keep the incomplete request connection open and repeatedly issue Create-Job requests, causing unrelated pending jobs to accumulate until MaxJobs is reached, to cause a denial of service.

Exploitation requires access to the IPP service permitted by the configured host ACL and a queue accepting job creation.


Remediation

Install update from vendor's website.

References