Package: cups-daemon
Version: 2.4.2-3+deb12u10
Severity: important
Tags: regression
Dear Maintainer,
after upgrading cups from 2.4.2-3+deb12u9 to 2.4.2-3+deb12u10
(DLA-4952-1, bookworm-security), cupsd crashes with SIGSEGV (NULL pointer
dereference) every time a remote IPP client submits a job using
Create-Job + Send-Document. Local printing on the same host works fine.
Downgrading to 2.4.2-3+deb12u9 fixes the problem.
Setup:
- Debian 12.15 (bookworm) host, amd64, cups 2.4.2-3+deb12u10
- USB receipt printer, queue "111", shared (printer-is-shared=true,
_share_printers=1), driver rastertozj
- LXC container (10.0.3.11) with its own cupsd and a queue whose device
URI is ipp://10.0.3.1:631/printers/111 (ipp backend)
Steps to reproduce:
1. On the container: lp -d 111 /etc/hosts
2. The container's ipp backend sends Get-Printer-Attributes, Validate-Job,
Create-Job and Send-Document to the host.
3. The host's cupsd crashes while processing Send-Document.
Expected: the job is printed (as it was with deb12u9).
Actual: cupsd on the host is killed by SIGSEGV, systemd restarts it,
the job created by Create-Job is lost, and the client then gets
client-error-not-found for Get-Job-Attributes.
Printing locally on the host (lp -d 111 /etc/hosts via the domain
socket) works. Changing the requesting user name in the device URI
(ipp://[email protected]:631/printers/111) does not help, so it is not
related to the root -> remroot mapping.
access_log on the host (no Send-Document entry is ever logged):
10.0.3.11 - - [01/Dec/2026:12:36:13 +0200] "POST /printers/111 HTTP/1.1"
200 524 Validate-Job successful-ok
10.0.3.11 - - [01/Dec/2026:12:36:13 +0200] "POST /printers/111 HTTP/1.1"
200 494 Create-Job successful-ok
error_log (LogLevel debug) on the host:
D [01/Dec/2026:12:36:13 +0200] [Client 1] 2.0 Create-Job 4
D [01/Dec/2026:12:36:13 +0200] [Client 1] Returning IPP successful-ok for
Create-Job (ipp://10.0.3.1:631/printers/111) from 10.0.3.11.
D [01/Dec/2026:12:36:13 +0200] [Client 1] POST /printers/111 HTTP/1.1
D [01/Dec/2026:12:36:13 +0200] [Client 1] Read: status=200, state=6
D [01/Dec/2026:12:36:13 +0200] [Client 1] No authentication data provided.
D [01/Dec/2026:12:36:13 +0200] [Client 1] 2.0 Send-Document 5
<cupsd dies here, next lines are from the restarted process>
D [01/Dec/2026:12:36:14 +0200] [Client 1] Accepted from 10.0.3.11:54182
(IPv4)
...
D [01/Dec/2026:12:36:14 +0200] [Client 2] Returning IPP
client-error-not-found for Get-Job-Attributes (ipp://
10.0.3.1:631/printers/111) from 10.0.3.11.
journalctl -u cups:
Dec 01 12:36:13 kiosk systemd[1]: cups.service: Main process exited,
code=killed, status=11/SEGV
Dec 01 12:38:00 kiosk systemd[1]: cups.service: Main process exited,
code=killed, status=11/SEGV
dmesg (always the same offset in cupsd):
cupsd[203089]: segfault at 0 ip 000055ed17b2376d sp 00007ffd96ddd1b0 error
4 in cupsd[55ed17b1e000+4c000]
cupsd[203206]: segfault at 0 ip 000055dac72a876d sp 00007ffc85316c30 error
4 in cupsd[55dac72a3000+4c000]
The crash offset is constant (cupsd base + 0x576d). Looking at the
changelog, the changes for CVE-2025-58436 ("better handle slow clients")
or CVE-2026-107885 ("incomplete Send-Document request ...") seem to be
likely candidates, but I have not verified this.
Workaround: downgrade to 2.4.2-3+deb12u9 and hold the packages.
-- System Information:
Debian Release: 12.15
Architecture: amd64
cups-daemon 2.4.2-3+deb12u10
cups-filters 1.28.17-3+deb12u2