Skip to content
OpenAdvisories
High ALAS2023-2026-1635 6 CVEs

Important: cups security update (Amazon Linux 2023)

Published Apr 27, 2026 · Updated Apr 30, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-39316: OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a use-after-free vulnerability exists in the CUPS scheduler (cupsd) when temporary printers are automatically deleted. cupsdDeleteTemporaryPrinters() in scheduler/printers.c calls cupsdDeletePrinter() without first expiring subscriptions that reference the printer, leaving cupsd_subscription_t.dest as a dangling pointer to freed heap memory. The dangling pointer is subsequently dereferenced at multiple code sites, causing a crash (denial of service) of the cupsd daemon. With heap grooming, this can be leveraged for code execution. CVE-2026-39314: OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, an integer underflow vulnerability in _ppdCreateFromIPP() (cups/ppd-cache.c) allows any unprivileged local user to crash the cupsd root process by supplying a negative job-password-supported IPP attribute. The bounds check only caps the upper bound, so a negative value passes validation, is cast to size_t (wrapping to ~2^64), and is used as the length argument to memset() on a 33-byte stack buffer. This causes an immediate SIGSEGV in the cupsd root process. Combined with systemd's Restart=on-failure, an attacker can repeat the crash for sustained denial of service. CVE-2026-34990: OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a local unprivileged user can coerce cupsd into authenticating to an attacker-controlled localhost IPP service with a reusable Authorization: Local ... token. That token is enough to drive /admin/ requests on localhost, and the attacker can combine CUPS-Create-Local-Printer with printer-is-shared=true to persist a file:///... queue even though the normal FileDevice policy rejects such URIs. Printing to that queue gives an arbitrary root file overwrite; the PoC below uses that primitive to drop a sudoers fragment and demonstrate root command execution. At time of publication, there are no publicly available patches. CVE-2026-34980: OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, in a network-exposed cupsd with a shared target queue, an unauthorized client can send a Print-Job to that shared PostScript queue without authentication. The server accepts a page-border value supplied as textWithoutLanguage, preserves an embedded newline through option escaping and reparse, and then reparses the resulting second-line PPD: text as a trusted scheduler control record. A follow-up raw print job can therefore make the server execute an attacker-chosen existing binary such as /usr/bin/vim as lp. At time of publication, there are no publicly available patches. CVE-2026-34979: OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, there is a heap-based buffer overflow in the CUPS scheduler when building filter option strings from job attribute. At time of publication, there are no publicly available patches. CVE-2026-34978: OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), letting a remote IPP client write RSS XML bytes outside CacheDir/rss (anywhere that is lp-writable). In particular, because CacheDir is group-writable by default (typically root:lp and mode 0770), the notifier (running as lp) can replace root-managed state files via temp-file + rename(). This PoC clobbers CacheDir/job.cache with RSS XML, and after restarting cupsd the scheduler fails to parse the job cache and previously queued jobs disappear. At time of publication, there are no publicly available patches.

Fixed packages 15

ReleasePackageFixed in
Amazon Linux · 2023 cups 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-client 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-client-debuginfo 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-debuginfo 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-debugsource 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-devel 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-filesystem 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-ipptool 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-ipptool-debuginfo 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-libs 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-libs-debuginfo 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-lpd 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-lpd-debuginfo 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-printerapp 1:2.4.16-1.amzn2023.0.3
Amazon Linux · 2023 cups-printerapp-debuginfo 1:2.4.16-1.amzn2023.0.3

Vulnerabilities 6

  • Medium 6.5

    OpenPrinting CUPS: Path traversal in RSS notify-recipient-uri enables file write outside CacheDir/rss (and clobbering of job.cache)

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), letting a remote IPP client write…

  • Medium 6.1
    CVE-2026-34980 Public exploit

    OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, in a network-exposed cupsd with a shared target queue, an unauthorized client can send a Print-Job to that shared PostScript que…

  • Medium 5.3

    OpenPrinting CUPS: Heap overflow in `get_options()`

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, there is a heap-based buffer overflow in the CUPS scheduler when building filter option strings from job attribute. At time of p…

  • Medium 5.0
    CVE-2026-34990 Public exploit

    OpenPrinting CUPS: Local print admin token disclosure using temporary printers

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a local unprivileged user can coerce cupsd into authenticating to an attacker-controlled localhost IPP service with a reusable A…

  • Medium 4.0

    CUPS has an integer underflow in `_ppdCreateFromIPP` causes root cupsd crash via negative `job-password-supported`

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, an integer underflow vulnerability in _ppdCreateFromIPP() (cups/ppd-cache.c) allows any unprivileged local user to crash the cup…

  • Medium 4.0

    CUPS has a use-after-free in `cupsdDeleteTemporaryPrinters` via dangling subscription pointer

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a use-after-free vulnerability exists in the CUPS scheduler (cupsd) when temporary printers are automatically deleted. cupsdDele…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-34978.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-34979.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-34980.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-34990.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-39314.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-39316.html