Skip to contentSkip to conversation

cups: backport eight CVE fixes (2026-11-20)

PATCH New Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 9 messages Nov 20

lore
Share & tools
lore
#0 lore raw

cover cups: backport eight CVE fixes (2026-11-20)

From: Ashishkumar Parmar <[email protected]>

This series backports eight upstream CUPS security fixes to the CUPS 2.4.16 recipe in OE-Core wrynose. The recipe version and source archive checksum are unchanged.

The fixes address:

- CVE-2026-55453: control characters in quoted IPP attribute strings.
- CVE-2026-55467: control characters in fax destination and pre-dial strings.
- CVE-2026-55480: unsafe temporary PPD creation.
- CVE-2026-61702: missing attributes-natural-language validation.
- CVE-2026-107888: held jobs whose destination has disappeared.
- CVE-2026-107890: unnamed group separators in job creation requests.
- CVE-2026-107886: dangling class-printer array pointers after freeing.
- CVE-2026-107885: jobs held open beyond MultipleOperationTimeout.

Each fix is carried as a separate source patch and added to SRC_URI in cups.inc. The source patches record the corresponding upstream commit URLs, CVE identifiers and backport status.

Ashishkumar Parmar (8):
cups: Fix CVE-2026-55453
cups: Fix CVE-2026-55467
cups: Fix CVE-2026-55480
cups: Fix CVE-2026-61702
cups: Fix CVE-2026-107888
cups: Fix CVE-2026-107890
cups: Fix CVE-2026-107886
cups: Fix CVE-2026-107885

 meta/recipes-extended/cups/cups.inc           |   8 ++
 .../cups/cups/CVE-2026-107885.patch           | 102 ++++++++++++++++++
 .../cups/cups/CVE-2026-107886.patch           |  44 ++++++++
 .../cups/cups/CVE-2026-107888.patch           |  64 +++++++++++
 .../cups/cups/CVE-2026-107890.patch           |  44 ++++++++
 .../cups/cups/CVE-2026-55453.patch            |  45 ++++++++
 .../cups/cups/CVE-2026-55467.patch            |  63 +++++++++++
 .../cups/cups/CVE-2026-55480.patch            |  32 ++++++
 .../cups/cups/CVE-2026-61702.patch            |  76 +++++++++++++
 9 files changed, 478 insertions(+)
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-107885.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-107886.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-107888.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-107890.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-55453.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-55467.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-55480.patch
 create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-61702.patch

base-commit: ae5a301091f5b0574ea7444aab40b309b6d9f3f2

Signature · 1 line
2.35.6
#1 lore raw

PATCH 1/8 cups: Fix CVE-2026-55453

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/d41cf0616688721e9d435d54118c4c8a36ed596a
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-7hqf-mfhx-7r3v

meta/recipes-extended/cups/cups.inc +1 -0
index 9f5d5fe726..c635e95015 100644
@@ -25,6 +25,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-27447-regression_p1.patch \
            file://CVE-2026-27447-regression_p2.patch \
            file://CVE-2026-41079.patch \
+           file://CVE-2026-55453.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-55453.patch new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.35.6
#2 lore raw

PATCH 2/8 cups: Fix CVE-2026-55467

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/0cf4e7814d6810ed3c454222bce3aa342d541681
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-69qc-prxg-h2c7

meta/recipes-extended/cups/cups.inc +1 -0
index c635e95015..65db905563 100644
@@ -26,6 +26,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-27447-regression_p2.patch \
            file://CVE-2026-41079.patch \
            file://CVE-2026-55453.patch \
+           file://CVE-2026-55467.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-55467.patch new file +63 -0

63 lines not on this page · raw message

Signature · 1 line
2.35.6
#3 lore raw

PATCH 3/8 cups: Fix CVE-2026-55480

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9

meta/recipes-extended/cups/cups.inc +1 -0
index 65db905563..482eb9c85d 100644
@@ -27,6 +27,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-41079.patch \
            file://CVE-2026-55453.patch \
            file://CVE-2026-55467.patch \
+           file://CVE-2026-55480.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-55480.patch new file +32 -0
new file mode 100644
index 0000000000..b7a682418a
@@ -0,0 +1,32 @@
+From c93f88be468c6eeed863237d87da67e13b2e53c0 Mon Sep 17 00:00:00 2001
+From: Michael R Sweet <[email protected]>
+Date: Fri, 12 Jun 2026 16:15:56 -0400
+Subject: [PATCH] Open temporary PPD files more securely.
+
+CVE: CVE-2026-55480
+Upstream-Status: Backport [https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62]
+
+Backport Changes:
+- Omit the CHANGES.md release-note hunk for the newer upstream release.
+
+Signed-off-by: Ashishkumar Parmar <[email protected]>
+---
+ scheduler/ipp.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scheduler/ipp.c b/scheduler/ipp.c
+index 9a280e75..1c9798cb 100644
+--- a/scheduler/ipp.c
++++ b/scheduler/ipp.c
+@@ -4492,7 +4492,7 @@ copy_model(cupsd_client_t *con,		/* I - Client connection */
+ 
+   snprintf(buffer, sizeof(buffer), "%s/daemon/cups-driverd", ServerBin);
+   snprintf(tempfile, sizeof(tempfile), "%s/%d.ppd", TempDir, con->number);
+-  if ((tempfd = open(tempfile, O_WRONLY | O_CREAT | O_TRUNC, 0600)) < 0)
++  if ((tempfd = open(tempfile, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL | O_NOFOLLOW, 0600)) < 0)
+     return (-1);
+   if (cupsdOpenPipe(temppipe))
+   {
+-- 
+2.35.6
+
Signature · 1 line
2.35.6
#4 lore raw

PATCH 4/8 cups: Fix CVE-2026-61702

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/08a8a277ce2a8948a1af33552247a1ac53b72df3
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-gq9p-4w7m-2f5g

meta/recipes-extended/cups/cups.inc +1 -0
index 482eb9c85d..dad2ce88ba 100644
@@ -28,6 +28,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-55453.patch \
            file://CVE-2026-55467.patch \
            file://CVE-2026-55480.patch \
+           file://CVE-2026-61702.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-61702.patch new file +76 -0

76 lines not on this page · raw message

Signature · 1 line
2.35.6
#5 lore raw

PATCH 5/8 cups: Fix CVE-2026-107888

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/c5fc041ca0a211f8e69854907be7b55f56955659
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-qqm8-4q5h-jg55

meta/recipes-extended/cups/cups.inc +1 -0
index dad2ce88ba..2b63c448c6 100644
@@ -29,6 +29,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-55467.patch \
            file://CVE-2026-55480.patch \
            file://CVE-2026-61702.patch \
+           file://CVE-2026-107888.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-107888.patch new file +64 -0

64 lines not on this page · raw message

Signature · 1 line
2.35.6
#6 lore raw

PATCH 6/8 cups: Fix CVE-2026-107890

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/f3fb41912e4e29dbbbe7c4afd4fe48508af21bc0
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-wjc4-qhjr-5m5x

meta/recipes-extended/cups/cups.inc +1 -0
index 2b63c448c6..6605236049 100644
@@ -30,6 +30,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-55480.patch \
            file://CVE-2026-61702.patch \
            file://CVE-2026-107888.patch \
+           file://CVE-2026-107890.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-107890.patch new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.35.6
#7 lore raw

PATCH 7/8 cups: Fix CVE-2026-107886

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/13bc9d4f8d695403d54469cc3c8b675e34a7037f
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-pwg4-pv39-8c22

meta/recipes-extended/cups/cups.inc +1 -0
index 6605236049..547a129ce4 100644
@@ -31,6 +31,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-61702.patch \
            file://CVE-2026-107888.patch \
            file://CVE-2026-107890.patch \
+           file://CVE-2026-107886.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-107886.patch new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.35.6
#8 lore raw

PATCH 8/8 cups: Fix CVE-2026-107885

In reply to Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream fix referenced in [2], using the commit shown in [1].

[1] https://github.com/OpenPrinting/cups/commit/6c61d23f5523055ec4374465e85d1dec9396994f
[2] https://github.com/OpenPrinting/cups/security/advisories/GHSA-hhw5-qqmc-p6rg

meta/recipes-extended/cups/cups.inc +1 -0
index 547a129ce4..0581841e44 100644
@@ -32,6 +32,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/cups-${PV}-source.tar.gz \
            file://CVE-2026-107888.patch \
            file://CVE-2026-107890.patch \
            file://CVE-2026-107886.patch \
+           file://CVE-2026-107885.patch \
            "
 
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/cups/releases"
meta/recipes-extended/cups/cups/CVE-2026-107885.patch new file +102 -0

102 lines not on this page · raw message

Signature · 1 line
2.35.6