Bug 299342 - print/cups: Update 2.4.19 => 2.4.20 (multiple CVEs)
Summary: print/cups: Update 2.4.19 => 2.4.20 (multiple CVEs)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Tijl Coosemans
URL: https://github.com/OpenPrinting/cups/...
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2026-10-12 19:37 UTC by Vladimir Druzenko
Modified: 2026-10-15 18:05 UTC (History)
2 users (show)

See Also:
tijl: maintainer-feedback+
vvd: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2026-10-12 19:37:08 UTC
CVE-2025-55480, CVE-2026-61702, CVE-2026-87875, CVE-2026-87876, CVE-2026-55453, CVE-2026-55467, CVE-2026-105326
GHSA-7j85-5r23-xhvh, GHSA-w9hj-hq9p-m7f6, GHSA-qqm8-4q5h-jg55, GHSA-wjc4-qhjr-5m5x, GHSA-gj33-wxpv-6fgg, GHSA-pwg4-pv39-8c22
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-10-13 08:32:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23eee321bb5a4bcb713fc57ac7affbaff7ef70ea

commit 23eee321bb5a4bcb713fc57ac7affbaff7ef70ea
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-10-13 08:29:30 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-10-13 08:30:39 +0000

    print/cups: Update to 2.4.20

    PR:             299342

 print/cups/Makefile | 3 +--
 print/cups/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2026-10-13 10:27:24 UTC
        AVAHI          : off
        DBUS           : off
        DOCS           : off
        GNUTLS         : off
        IPPTOOL        : on/off
        LIBPAPER       : on
        NLS            : on
        OPENSSL        : on
        X11            : on/off

dest.c:3577:10: error: no member named 'num_local' in 'struct _cups_getdata_s'
 3577 |     data.num_local   = 0;
      |     ~~~~ ^
dest.c:3578:10: error: no member named 'local_dests' in 'struct _cups_getdata_s'
 3578 |     data.local_dests = NULL;
      |     ~~~~ ^
dest.c:3606:12: error: no member named 'num_local' in 'struct _cups_getdata_s'
 3606 |       data.num_local = cupsCopyDest(dest, data.num_local, &data.local_dests);
      |       ~~~~ ^
dest.c:3606:48: error: no member named 'num_local' in 'struct _cups_getdata_s'
 3606 |       data.num_local = cupsCopyDest(dest, data.num_local, &data.local_dests);
      |                                           ~~~~ ^
dest.c:3606:65: error: no member named 'local_dests' in 'struct _cups_getdata_s'
 3606 |       data.num_local = cupsCopyDest(dest, data.num_local, &data.local_dests);
      |                                                            ~~~~ ^
dest.c:3981:22: error: no member named 'num_local' in 'struct _cups_getdata_s'
 3981 |   cupsFreeDests(data.num_local, data.local_dests);
      |                 ~~~~ ^
dest.c:3981:38: error: no member named 'local_dests' in 'struct _cups_getdata_s'
 3981 |   cupsFreeDests(data.num_local, data.local_dests);
      |                                 ~~~~ ^
7 errors generated.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-10-13 10:42:37 UTC
Fix build with AVAHI off.

print/cups/files/patch-cups_dest.c:
--- cups/dest.c.orig	2026-10-05 15:26:07 UTC
+++ cups/dest.c
@@ -125,6 +125,8 @@ typedef struct _cups_getdata_s
 {
   int		num_dests;		/* Number of destinations */
   cups_dest_t	*dests;			/* Destinations */
+  int		num_local; 		/* Number of local cupsd queues */
+  cups_dest_t	*local_dests;		/* Local cupsd queues */
   char		def_name[1024],		/* Default printer name, if any */
 		*def_instance;		/* Default printer instance, if any */
 } _cups_getdata_t;
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-10-13 14:20:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c361bc0461b5f269173c7998fc09ac6d435ed7c

commit 3c361bc0461b5f269173c7998fc09ac6d435ed7c
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-10-13 14:08:26 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-10-13 14:18:11 +0000

    print/cups: Fix build with AVAHI option disabled

    PR:             299342
    Reported by:    vvd

 print/cups/Makefile | 3 +++
 print/cups/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-10-15 11:31:10 UTC
A commit in branch 2026Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ec2c7eba38897351796839f358f1dcfb768ff58

commit 6ec2c7eba38897351796839f358f1dcfb768ff58
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-10-13 14:08:26 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-10-15 11:30:07 +0000

    print/cups: Fix build with AVAHI option disabled

    PR:             299342
    Reported by:    vvd

    (cherry picked from commit 3c361bc0461b5f269173c7998fc09ac6d435ed7c)

 print/cups/Makefile | 3 +++
 print/cups/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-10-15 11:31:12 UTC
A commit in branch 2026Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=88dd83cb87f3cee76363dd9cc0f3de11b77718c1

commit 88dd83cb87f3cee76363dd9cc0f3de11b77718c1
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-10-13 08:29:30 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-10-15 11:30:07 +0000

    print/cups: Update to 2.4.20

    PR:             299342
    (cherry picked from commit 23eee321bb5a4bcb713fc57ac7affbaff7ef70ea)

 print/cups/Makefile | 3 +--
 print/cups/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)