Skip to main content
CVE-2024-35235VulnerabilityPublished Updated

cups · In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic

Affects cupsSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.7 Medium · fixed in 2.1.3-4ubuntu0.11+esm6 : update cups when convenient.

Data as of 24 Nov 2026, 19:26 UTC

CVSS 3.1 base score
6.7Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.1.3-4ubuntu0.11+esm6, 2.2.7-1ubuntu2.10+esm4, 2.3.1-9ubuntu1.7 +2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=nobleOther threatsAffected
  • <2.4.7-1.2ubuntu7.1
Fixed in
  • 2.4.7-1.2ubuntu7.1
Ubuntu 22.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=jammyOther threatsAffected
  • <2.4.1op1-1ubuntu4.9
Fixed in
  • 2.4.1op1-1ubuntu4.9
Ubuntu 20.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=focalOther threatsAffected
  • <2.3.1-9ubuntu1.7
Fixed in
  • 2.3.1-9ubuntu1.7
Ubuntu Pro 18.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.2.7-1ubuntu2.10+esm4
Fixed in
  • 2.2.7-1ubuntu2.10+esm4
Ubuntu Pro 16.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.1.3-4ubuntu0.11+esm6
Fixed in
  • 2.1.3-4ubuntu0.11+esm6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target. Given that cupsd is often running as root, this can result in the change of permission of any user or system files to be world writable. Given the aforementioned Ubuntu AppArmor context, on such systems this vulnerability is limited to those files modifiable by the cupsd process. In that specific case it was found to be possible to turn the configuration of the Listen argument into full control over the cupsd.conf and cups-files.conf configuration files. By later setting the User and Group arguments in cups-files.conf, and printing with a printer configured by PPD with a `FoomaticRIPCommandLine` argument, arbitrary user and group (not root) command execution could be achieved, which can further be used on Ubuntu systems to achieve full root command execution. Commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d contains a patch for the issue.

References

Community reviews

Loading reviews…