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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62 Patch
- https://github.com/OpenPrinting/cups/commit/f6a11dae0f0f3b748fbca931e237be03ffe8e48e Patch
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9 Exploit, Patch, Vendor Advisory
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9 Exploit, Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 6
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-20 19:37
- StatusPublished → AnalyzedNVD modified 2026-10-20 19:37
- StatusUndergoing Analysis → PublishedNVD modified 2026-10-20 02:59
- StatusAwaiting Analysis → Undergoing AnalysisNVD modified 2026-10-20 03:17
- StatusReceived → Awaiting AnalysisNVD modified 2026-10-16 16:00
- First seenCVSS 5.7NVD modified 2026-10-15 18:17
Affected (CPE criteria) 1
cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*
References 5
- https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62 Patch
- https://github.com/OpenPrinting/cups/commit/f6a11dae0f0f3b748fbca931e237be03ffe8e48e Patch
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.20 Release Notes
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9 Exploit, Patch, Vendor Advisory
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9 Exploit, Patch, Vendor Advisory