p PatchFirst

CVE-2026-55480

CVE-2026-55480 · CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root)

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.7 · Medium · EPSS 0.2%

Published
Updated

Stack: system

Affected products and versions

  • cups

    Versions
    • < 2.4.20: Affected

    No fix published

  • cups Debian:12

    Versions
    • 2.4.10-1
    • 2.4.10-2
    • 2.4.10-3
    • 2.4.10-4
    • 2.4.14-1
    • 2.4.15-1
    • 2.4.16-1
    • 2.4.17-1
    • 2.4.18-1
    • 2.4.2-3
    • 2.4.2-3+deb12u1
    • 2.4.2-3+deb12u2
    • 2.4.2-3+deb12u3
    • 2.4.2-3+deb12u4
    • 2.4.2-3+deb12u5
    • 2.4.2-3+deb12u6
    • 2.4.2-3+deb12u7
    • 2.4.2-3+deb12u8
    • 2.4.2-3+deb12u9
    • 2.4.2-4
    • 2.4.2-5
    • 2.4.2-6
    • 2.4.20-1
    • 2.4.7-1
    • 2.4.7-1.1
    • 2.4.7-1.2
    • 2.4.7-2
    • 2.4.7-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Debian:13

    Versions
    • 2.4.10-3
    • 2.4.10-3+deb13u1
    • 2.4.10-3+deb13u2
    • 2.4.10-4
    • 2.4.14-1
    • 2.4.15-1
    • 2.4.16-1
    • 2.4.17-1
    • 2.4.18-1
    • 2.4.20-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Debian:14

    Versions
    • 2.4.10-3
    • 2.4.10-4
    • 2.4.14-1
    • 2.4.15-1
    • 2.4.16-1
    • 2.4.17-1
    • 2.4.18-1
    • 2.4.20-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:Pro:16.04:LTS

    Versions
    • 2.1.0-4ubuntu3
    • 2.1.0-5
    • 2.1.0-6
    • 2.1.0-6ubuntu1
    • 2.1.0-7
    • 2.1.2-1
    • 2.1.2-2
    • 2.1.3-1
    • 2.1.3-1build1
    • 2.1.3-3
    • 2.1.3-4
    • 2.1.3-4ubuntu0.2
    • 2.1.3-4ubuntu0.3
    • 2.1.3-4ubuntu0.4
    • 2.1.3-4ubuntu0.5
    • 2.1.3-4ubuntu0.6
    • 2.1.3-4ubuntu0.7
    • 2.1.3-4ubuntu0.8
    • 2.1.3-4ubuntu0.9
    • 2.1.3-4ubuntu0.10
    • 2.1.3-4ubuntu0.11
    • 2.1.3-4ubuntu0.11+esm1
    • 2.1.3-4ubuntu0.11+esm2
    • 2.1.3-4ubuntu0.11+esm3
    • 2.1.3-4ubuntu0.11+esm4
    • 2.1.3-4ubuntu0.11+esm5
    • 2.1.3-4ubuntu0.11+esm6
    • 2.1.3-4ubuntu0.11+esm7
    • 2.1.3-4ubuntu0.11+esm8
    • 2.1.3-4ubuntu0.11+esm9
    • 2.1.3-4ubuntu0.11+esm11
    • 2.1.3-4ubuntu0.11+esm12
    • 2.1.3-4ubuntu0.11+esm13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:Pro:18.04:LTS

    Versions
    • 2.2.4-7ubuntu2
    • 2.2.5-2
    • 2.2.6-2
    • 2.2.6-3
    • 2.2.6-4
    • 2.2.6-5
    • 2.2.7-1ubuntu1
    • 2.2.7-1ubuntu2
    • 2.2.7-1ubuntu2.1
    • 2.2.7-1ubuntu2.2
    • 2.2.7-1ubuntu2.3
    • 2.2.7-1ubuntu2.4
    • 2.2.7-1ubuntu2.5
    • 2.2.7-1ubuntu2.6
    • 2.2.7-1ubuntu2.7
    • 2.2.7-1ubuntu2.8
    • 2.2.7-1ubuntu2.9
    • 2.2.7-1ubuntu2.10
    • 2.2.7-1ubuntu2.10+esm1
    • 2.2.7-1ubuntu2.10+esm2
    • 2.2.7-1ubuntu2.10+esm3
    • 2.2.7-1ubuntu2.10+esm4
    • 2.2.7-1ubuntu2.10+esm5
    • 2.2.7-1ubuntu2.10+esm6
    • 2.2.7-1ubuntu2.10+esm7
    • 2.2.7-1ubuntu2.10+esm9
    • 2.2.7-1ubuntu2.10+esm10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:Pro:20.04:LTS

    Versions
    • 2.2.12-2ubuntu1
    • 2.3.0-6
    • 2.3.0-7
    • 2.3.0-7ubuntu1
    • 2.3.1-1ubuntu1
    • 2.3.1-2
    • 2.3.1-4
    • 2.3.1-7
    • 2.3.1-9ubuntu1
    • 2.3.1-9ubuntu1.1
    • 2.3.1-9ubuntu1.2
    • 2.3.1-9ubuntu1.3
    • 2.3.1-9ubuntu1.4
    • 2.3.1-9ubuntu1.5
    • 2.3.1-9ubuntu1.6
    • 2.3.1-9ubuntu1.7
    • 2.3.1-9ubuntu1.8
    • 2.3.1-9ubuntu1.9
    • 2.3.1-9ubuntu1.9+esm1
    • 2.3.1-9ubuntu1.9+esm3
    • 2.3.1-9ubuntu1.9+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:22.04:LTS

    Versions
    • 2.3.3op2-7ubuntu2
    • 2.4.1op1-1ubuntu1
    • 2.4.1op1-1ubuntu2
    • 2.4.1op1-1ubuntu3
    • 2.4.1op1-1ubuntu4
    • 2.4.1op1-1ubuntu4.1
    • 2.4.1op1-1ubuntu4.2
    • 2.4.1op1-1ubuntu4.4
    • 2.4.1op1-1ubuntu4.6
    • 2.4.1op1-1ubuntu4.7
    • 2.4.1op1-1ubuntu4.8
    • 2.4.1op1-1ubuntu4.9
    • 2.4.1op1-1ubuntu4.10
    • 2.4.1op1-1ubuntu4.11
    • 2.4.1op1-1ubuntu4.12
    • 2.4.1op1-1ubuntu4.15
    • 2.4.1op1-1ubuntu4.16
    • 2.4.1op1-1ubuntu4.20
    • 2.4.1op1-1ubuntu4.21
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:24.04:LTS

    Versions
    • 2.4.6-0ubuntu3
    • 2.4.7-1.2ubuntu2
    • 2.4.7-1.2ubuntu3
    • 2.4.7-1.2ubuntu7
    • 2.4.7-1.2ubuntu7.1
    • 2.4.7-1.2ubuntu7.2
    • 2.4.7-1.2ubuntu7.3
    • 2.4.7-1.2ubuntu7.4
    • 2.4.7-1.2ubuntu7.7
    • 2.4.7-1.2ubuntu7.9
    • 2.4.7-1.2ubuntu7.13
    • 2.4.7-1.2ubuntu7.14
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:26.10

    Versions
    • 2.4.16-1ubuntu1
    • 2.4.16-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cups Ubuntu:26.04:LTS

    Versions
    • 2.4.12-0ubuntu3
    • 2.4.12-0ubuntu5
    • 2.4.16-1ubuntu1
    • 2.4.16-1ubuntu1.2
    • 2.4.16-1ubuntu1.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →