@@ -33,6 +33,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
file://CVE-2026-39314.patch \
file://CVE-2026-39316.patch \
file://CVE-2026-55453.patch \
+ file://CVE-2026-55467.patch \
"
GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
new file mode 100644
@@ -0,0 +1,70 @@
+From b5e074cee7d633233447cec7e9ced16dce66733d Mon Sep 17 00:00:00 2001
+From: Michael R Sweet <msweet@msweet.org>
+Date: Fri, 12 Jun 2026 15:43:22 -0400
+Subject: [PATCH] Sanitizer destination-uri and pre-dial-string values.
+
+CVE: CVE-2026-55467
+Upstream-Status: Backport [https://github.com/OpenPrinting/cups/commit/0cf4e7814d6810ed3c454222bce3aa342d541681]
+
+Signed-off-by: Ashishkumar Parmar <asparmar@cisco.com>
+---
+ CHANGES.md | 1 +
+ scheduler/job.c | 29 +++++++++++++++++++++++++++--
+ 2 files changed, 28 insertions(+), 2 deletions(-)
+
+diff --git a/CHANGES.md b/CHANGES.md
+index c8284c9b42..4e0de90191 100644
+--- a/CHANGES.md
++++ b/CHANGES.md
+@@ -6,6 +6,7 @@ Changes in CUPS v2.4.11 (2024-09-30)
+ ------------------------------------
+
+ - CVE-2026-NNNNN: The backend did not sanitize IPP attribute strings.
++- CVE-2026-NNNNN: The scheduler did not sanitizer fax numbers.
+ - Updated the maximum file descriptor limit for `cupsd` to 64k-1 (Issue #989)
+ - Fixed `lpoptions -d` with a discovered but not added printer (Issue #833)
+ - Fixed incorrect error message for HTTP/IPP errors (Issue #893)
+diff --git a/scheduler/job.c b/scheduler/job.c
+index ea6aa2692a..f746fb0e02 100644
+--- a/scheduler/job.c
++++ b/scheduler/job.c
+@@ -3904,12 +3904,37 @@ get_options(cupsd_job_t *job, /* I - Job */
+ ipp_t *ipp = ippGetCollection(attr, 0); // Collection value
+ const char *destination_uri = ippGetString(ippFindAttribute(ipp, "destination-uri", IPP_TAG_URI), 0, NULL);
+ const char *pre_dial_string = ippGetString(ippFindAttribute(ipp, "pre-dial-string", IPP_TAG_TEXT), 0, NULL);
++ char buffer[256], *bufptr; // Sanitized value
+
+ if (destination_uri && !strncmp(destination_uri, "tel:", 4))
+- num_pwgppds = cupsAddOption("phone", destination_uri + 4, num_pwgppds, &pwgppds);
++ {
++ for (destination_uri += 4, bufptr = buffer; *destination_uri && bufptr < (buffer + sizeof(buffer) - 1); destination_uri ++)
++ {
++ if ((*destination_uri & 255) < ' ' || *destination_uri == 127)
++ *bufptr++ = ' ';
++ else
++ *bufptr++ = *destination_uri;
++ }
++
++ *bufptr = '\0';
++
++ num_pwgppds = cupsAddOption("phone", buffer, num_pwgppds, &pwgppds);
++ }
+
+ if (pre_dial_string)
+- num_pwgppds = cupsAddOption("faxPrefix", pre_dial_string, num_pwgppds, &pwgppds);
++ {
++ for (bufptr = buffer; *pre_dial_string && bufptr < (buffer + sizeof(buffer) - 1); pre_dial_string ++)
++ {
++ if ((*pre_dial_string & 255) < ' ' || *pre_dial_string == 127)
++ *bufptr++ = ' ';
++ else
++ *bufptr++ = *pre_dial_string;
++ }
++
++ *bufptr = '\0';
++
++ num_pwgppds = cupsAddOption("faxPrefix", buffer, num_pwgppds, &pwgppds);
++ }
+ }
+
+ /*