Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cups for openSUSE:Factory checked in at 2026-11-23 12:21:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cups (Old) and /work/SRC/openSUSE:Factory/.cups.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cups" Mon Nov 23 12:21:25 2026 rev:189 rq:1398953 version:2.4.20 Changes: -------- --- /work/SRC/openSUSE:Factory/cups/cups.changes 2026-10-23 20:22:34.484195401 +0200 +++ /work/SRC/openSUSE:Factory/.cups.new.1340718/cups.changes 2026-11-23 12:24:25.427280494 +0100 @@ -1,0 +2,43 @@ +Fri Nov 20 09:05:13 UTC 2026 - Johannes Meixner <[email protected]> + +- cups-2.4.20-CVE-2026-107655.patch is + https://github.com/OpenPrinting/cups/commit/25d68309b1af89c4b003f27f56ab0f8e7a189ea3 + backported to CUPS 2.4.20 to fix CVE-2026-107655 + "Embedded job ticket comments can lead to a crash" + https://github.com/OpenPrinting/cups/security/advisories/GHSA-58wv-9ffm-5w78 + "An unauthenticated attacker permitted to submit jobs + to a shared printer queue can send a crafted + Internet Printing Protocol (IPP) request to crash the + print daemon, resulting in a temporary Denial of Service" + (bsc#1284911) +- CUPS version 2.4.20 also fixes the following CVEs: + It seems the reason why those CVEs are not listed in the CUPS + release notes is that those CVEs came after the release date. + The GHSA IDs of those CVEs are listed in CHANGES.md + (cf. the below entry dated "Tue Oct 6"). +- CVE-2026-107886 + "Double-free in cupsd class management via CUPS-Add-Modify-Class + and CUPS-Delete-Class" + https://github.com/OpenPrinting/cups/security/advisories/GHSA-pwg4-pv39-8c22 + "OpenPrinting CUPS before 2.4.20 contains a double-free + in printer-class management" + (bsc#1284798) +- CVE-2026-107888 + "NULL pointer dereference in cupsdCheckJobs crashes cupsd + after temporary printer deletion" + https://github.com/OpenPrinting/cups/security/advisories/GHSA-qqm8-4q5h-jg55 + "OpenPrinting CUPS before 2.4.20 contains a NULL pointer + dereference in cupsdCheckJobs() when a job marked + job-held-on-create refers to a temporary printer + that has been automatically deleted" + (bsc#1284799) +- CVE-2026-107890 + "Unauthenticated Denial of Service in cupsd via Repeated + IPP Group Tags" + https://github.com/OpenPrinting/cups/security/advisories/GHSA-wjc4-qhjr-5m5x + "OpenPrinting CUPS before 2.4.20 contains a NULL pointer + dereference caused by repeated IPP group tags + in job-creation requests" + (bsc#1284800) + +------------------------------------------------------------------- New: ---- cups-2.4.20-CVE-2026-107655.patch ----------(New B)---------- New: - cups-2.4.20-CVE-2026-107655.patch is https://github.com/OpenPrinting/cups/commit/25d68309b1af89c4b003f27f56ab0f8e7a189ea3 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cups.spec ++++++ --- /var/tmp/diff_new_pack.NiPuq6/_old 2026-11-23 12:24:27.435365016 +0100 +++ /var/tmp/diff_new_pack.NiPuq6/_new 2026-11-23 12:24:27.438365142 +0100 @@ -117,6 +117,16 @@ # Patch112 cups-2.4.2-additional_policies.patch adds the 'allowallforanybody' policy to cupsd.conf # see SUSE FATE 303515 and https://bugzilla.suse.com/show_bug.cgi?id=936309 Patch112: cups-2.4.2-additional_policies.patch +# Patch113 cups-2.4.20-CVE-2026-107655.patch is +# https://github.com/OpenPrinting/cups/commit/25d68309b1af89c4b003f27f56ab0f8e7a189ea3 +# backported to CUPS 2.4.20 to fix CVE-2026-107655 +# "Embedded job ticket comments can lead to a crash" +# https://github.com/OpenPrinting/cups/security/advisories/GHSA-58wv-9ffm-5w78 +# "An unauthenticated attacker permitted to submit jobs to a shared printer queue +# can send a crafted Internet Printing Protocol (IPP) request to crash the print daemon, +# resulting in a temporary Denial of Service" +# https://bugzilla.suse.com/show_bug.cgi?id=1284911 +Patch113: cups-2.4.20-CVE-2026-107655.patch # Build Requirements: BuildRequires: dbus-1-devel BuildRequires: fdupes @@ -354,6 +364,16 @@ # Patch112 cups-2.4.2-additional_policies.patch adds the 'allowallforanybody' policy to cupsd.conf # see SUSE FATE 303515 and https://bugzilla.suse.com/show_bug.cgi?id=936309 %patch -P 112 -b additional_policies.orig +# Patch113 cups-2.4.20-CVE-2026-107655.patch is +# https://github.com/OpenPrinting/cups/commit/25d68309b1af89c4b003f27f56ab0f8e7a189ea3 +# backported to CUPS 2.4.20 to fix CVE-2026-107655 +# "Embedded job ticket comments can lead to a crash" +# https://github.com/OpenPrinting/cups/security/advisories/GHSA-58wv-9ffm-5w78 +# "An unauthenticated attacker permitted to submit jobs to a shared printer queue +# can send a crafted Internet Printing Protocol (IPP) request to crash the print daemon, +# resulting in a temporary Denial of Service" +# https://bugzilla.suse.com/show_bug.cgi?id=1284911 +%patch -P 113 -b CVE-2026-107655.orig %build # Remove ".SILENT" rule for verbose build output ++++++ cups-2.4.20-CVE-2026-107655.patch ++++++ --- cups/encode.c.orig 2026-10-05 17:26:07.000000000 +0200 +++ cups/encode.c 2026-11-20 09:47:07.043053056 +0100 @@ -97,6 +97,8 @@ static const ipp_op_t cups_ppd_name[] = static const _ipp_option_t ipp_options[] = { + { 0, "attributes-charset", IPP_TAG_CHARSET, IPP_TAG_ZERO }, /* never send as option */ + { 0, "attributes-natural-language", IPP_TAG_LANGUAGE, IPP_TAG_ZERO }, /* never send as option */ { 1, "auth-info", IPP_TAG_TEXT, IPP_TAG_JOB }, { 1, "auth-info-default", IPP_TAG_TEXT, IPP_TAG_PRINTER }, { 1, "auth-info-required", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, --- scheduler/conf.c.orig 2026-10-05 17:26:07.000000000 +0200 +++ scheduler/conf.c 2026-11-20 09:50:45.682543354 +0100 @@ -145,6 +145,7 @@ static const cupsd_var_t cupsfiles_vars[ { "DocumentRoot", &DocumentRoot, CUPSD_VARTYPE_STRING }, { "ErrorLog", &ErrorLog, CUPSD_VARTYPE_STRING }, { "FileDevice", &FileDevice, CUPSD_VARTYPE_BOOLEAN }, + { "JobTicketComments", &JobTicketComments, CUPSD_VARTYPE_BOOLEAN }, { "LogFilePerm", &LogFilePerm, CUPSD_VARTYPE_PERM }, { "PageLog", &PageLog, CUPSD_VARTYPE_STRING }, { "Printcap", &Printcap, CUPSD_VARTYPE_STRING }, @@ -800,6 +801,7 @@ cupsdReadConfiguration(void) cupsdSetString(&ErrorPolicy, CUPS_DEFAULT_ERROR_POLICY); + JobTicketComments = FALSE; JobHistory = DEFAULT_HISTORY; JobFiles = DEFAULT_FILES; JobAutoPurge = 0; --- scheduler/ipp.c.orig 2026-10-05 17:26:07.000000000 +0200 +++ scheduler/ipp.c 2026-11-20 09:47:07.048053135 +0100 @@ -8954,7 +8954,8 @@ print_job(cupsd_client_t *con, /* I - * Read any embedded job ticket info from PS files... */ - if (!_cups_strcasecmp(filetype->super, "application") && + if (JobTicketComments && + !_cups_strcasecmp(filetype->super, "application") && (!_cups_strcasecmp(filetype->type, "postscript") || !_cups_strcasecmp(filetype->type, "pdf"))) read_job_ticket(con); @@ -9145,7 +9146,7 @@ read_job_ticket(cupsd_client_t *con) /* */ ticket = ippNew(); - cupsEncodeOptions(ticket, num_options, options); + cupsEncodeOptions2(ticket, num_options, options, IPP_TAG_JOB); /* * See what the user wants to change. --- scheduler/job.h.orig 2026-10-05 17:26:07.000000000 +0200 +++ scheduler/job.h 2026-11-20 09:47:07.048053135 +0100 @@ -133,6 +133,8 @@ VAR int JobKillDelay VALUE(DEFAULT_TIM /* Max number of tries */ JobRetryInterval VALUE(300); /* Seconds between retries */ +VAR int JobTicketComments VALUE(FALSE); + /* Allow job ticket comments? */ /* --- doc/help/man-cups-files.conf.html.orig 2026-10-05 17:26:07.000000000 +0200 +++ doc/help/man-cups-files.conf.html 2026-11-20 09:47:07.049053151 +0100 @@ -100,6 +100,12 @@ The default group is operating system sp <dt><a name="LogFileGroup"></a><b>LogFileGroup </b><i>group-name-or-number</i> <dd style="margin-left: 5.0em">Specifies the group name or ID that will be used for log files. The default group is operating system specific but is usually "lp" or "nobody". +<dt><a name="JobTicketComments"></a><b>JobTicketComments On</b> +<dd style="margin-left: 5.0em"><dt><b>JobTicketComments Off</b> +<dd style="margin-left: 5.0em">Specifies whether to allow job ticket comments in PostScript or PDF files as used by the obsolete Windows CUPS driver. +The default is to not allow job ticket comments. +Job ticket comments are a deprecated feature and will be removed in CUPS 2.5. +</div> <dt><a name="LogFilePerm"></a><b>LogFilePerm </b><i>mode</i> <dd style="margin-left: 5.0em">Specifies the permissions of all log files that the scheduler writes. The default is "0644". --- man/cups-files.conf.5.orig 2026-10-05 17:26:07.000000000 +0200 +++ man/cups-files.conf.5 2026-11-20 09:57:21.719943576 +0100 @@ -133,6 +133,15 @@ Bad startup file permissions are fatal, Specifies the group name or ID that will be used when executing external programs. The default group is operating system specific but is usually "lp" or "nobody". .RE +.\"#JobTicketComments +.TP 5 +\fBJobTicketComments On\fR +.TP 5 +\fBJobTicketComments Off\fR +Specifies whether to allow job ticket comments in PostScript or PDF files as used by the obsolete Windows CUPS driver. +The default is to not allow job ticket comments. +Job ticket comments are a deprecated feature and will be removed in CUPS 2.5. +.RE .\"#LogFileGroup .TP 5 \fBLogFileGroup \fIgroup-name-or-number\fR
