Vulnerability record · OpenEuler 24.03-LTS-SP4
An update for cups is now available for openEuler-24.03-LTS-SP4
OpenEuler 24.03-LTS-SP4
What it fixes
Synopsis:
cups security updateSummary:
An update for cups is now available for openEuler-24.03-LTS-SP4Description:
CUPS is the standards-based, open source printing system developed by Apple Inc. for UNIX®-like operating systems. CUPS uses the Internet Printing Protocol (IPP) to support printing to local and network printers.
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 (/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.(CVE-2026-55480)
An argument injection flaw was found in CUPS. When email notification is configured, the CUPS scheduler accepts printer subscription requests that supply a mailto notify-recipient-uri. The mailto notifier passes the recipient address to the configured sendmail program without ensuring it cannot be interpreted as command-line options. A remote attacker who can reach the CUPS service could supply a crafted recipient value starting with "-" to influence sendmail behavior. Successful exploitation depends on the installed mail transfer agent and CUPS network exposure, and may lead to execution of attacker-controlled commands with the privileges of the CUPS service user.(CVE-2026-105326)
A flaw was found in CUPS. When processing embedded job ticket comments…
Manual fix · OpenEuler 24.03-LTS-SP4
sudo dnf upgrade cups cups-client cups-devel cups-filesystem cups-help cups-ipptool …rpm -q cups cups-client cups-devel cups-filesystem cups-help cups-ipptool …Sources