Distro advisory · AmazonLinux 2023
Medium priority package update for cups
AmazonLinux 2023
What it fixes
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-87876: Two case-insensitive comparisons on request-derived usernames outside the main authorization path in CUPS's scheduler (printer ACL validation and private-attribute filtering) could allow bypass of username-based access controls in certain configurations.
CVE-2026-87875: The cupsUTF32ToUTF8() function in CUPS's cups/transcode.c lacks a source-length bound and can read past the end of the source buffer, resulting in a heap out-of-bounds read. This is reachable via SNMP supply-description parsing in backend/snmp-supplies.c with attacker-controlled content.
CVE-2026-61702: NOTE: https://github.com/OpenPrinting/cups/security/advisories/GHSA-gq9p-4w7m-2f5g NOTE: Fixed by: https://github.com/OpenPrinting/cups/commit/08a8a277ce2a8948a1af33552247a1ac53b72df3 (v2.4.20)
CVE-2026-55480: When a printer is added or modified with a model PPD, the cupsd scheduler (running as root) calls copy_model() in scheduler/ipp.c, which writes the driver-generated PPD to a temporary file. The tempfile path is fully predictable (<TempDir>/<con->number>.ppd, where con->number is the sequential client connection id) and is opened with open(tempfile, O_WRONLY | O_CREAT | O_TRUNC, 0600) — without O_EXCL and without O_NOFOLLOW. TempDir (/var/spool/cups/tmp) is mode 01770 root:lp, i.e. writable by the lp group that print filters run under. An lp-group process can pre-plant a symlink at the predicted path pointing at any root-owned file; root follows the symlink and truncates/overwrites the target, giving an lp → root arbitrary-file-write primitive. The codebase's own cups/tempfile.c opens temporaries safely with O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW; copy_model() is the inconsistent outlier.
NOTE: https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9 NOTE: Fixed by: https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62 (v2.4.20)…
Manual fix · AmazonLinux 2023
sudo yum updateinfo info ALAS2023-2026-3415sudo yum upgrade --advisory=ALAS2023-2026-3415rpm -q cupsSources