Skip to content
OpenAdvisories
Medium · 5.7 CVE-2026-55480 EUVD-2026-102205

CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root)

Published Oct 15, 2026 · Updated Oct 20, 2026 · Assigned by GitHub_M

Description

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_model() in scheduler/ipp.c creates a predictable TempDir/<connection-number>.ppd path in an lp-group-writable directory and opens it as root without O_EXCL or O_NOFOLLOW. Exploitation requires an lp-group process able to write that directory to predict the connection-derived name and plant a symlink before the root open, while a privileged add-printer or modify-printer operation using a model PPD triggers copy_model(). The reporter treats an existing lp foothold and the privileged operation as distinct prerequisites, while the maintainer assesses high privileges because installing the relevant filter or administering the printer requires root or print-administrator access. If the race succeeds, the root scheduler follows the symlink and truncates or overwrites a root-writable target with generated PPD data, compromising file integrity or availability. This issue is fixed in version 2.4.20.

Affected products

VendorProductAffectedFixed
OpenPrinting cups < 2.4.20 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cups 2.4.20-1 —
Debian 13 cups No fix yet —
Debian 12 cups No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cups No fix yet —
Ubuntu 26.04 LTS cups No fix yet —
Ubuntu 24.04 LTS cups No fix yet —
Ubuntu 22.04 LTS cups No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS cups No fix yet —
Ubuntu Pro 18.04 LTS cups No fix yet —
Ubuntu Pro 16.04 LTS cups No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 cups +7 2.4.19-4.6.hum1 RHSA-2026:84421
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cups 2.4.20-1.1 openSUSE-SU-2026:12192-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 cups +7 1:2.4.20-1.amzn2023.0.1 ALAS2023-2026-3415

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cups No fix yet —

Advisories 4

References