Skip to main content
Public proof of conceptFix available

CVE-2024-35235

A public proof of concept exists; no exploitation attested.

  • Published2024-06-11
  • WeaknessCWE-252 · CWE-59

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-06-1115:16CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-25 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-35235?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-35235?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · CISA-ADP
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
Openprinting cups
BranchAffectedFixed in
2.4≤ 2.4.8no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cupsAlmaLinux:9all versions · fixed in 1:2.3.3op2-27.el9_4and 7 other packages
  • cupsAlmaLinux:8all versions · fixed in 1:2.2.6-60.el8_10and 6 other packages

Vendor advisories

  • CVE-2024-35235 Red Hat Product Security704 products fixed · 14 known affected

    cups: Cupsd Listen arbitrary chmod 0140777

    cups as a component of Red Hat Enterprise Linux 6 · cups-devel as a component of Red Hat Enterprise Linux 6 · cups-libs as a component of Red Hat Enterprise Linux 6 · +11 more

  • RHSA-2024:5644 Red Hat Product Security102 products fixed

    Red Hat Security Advisory: cups security update

  • RHSA-2024:4715 Red Hat Product Security156 products fixed

    Red Hat Security Advisory: cups security update

  • RHSA-2024:4776 Red Hat Product Security102 products fixed

    Red Hat Security Advisory: cups security update

  • RHSA-2024:4580 Red Hat Product Security88 products fixed

    Red Hat Security Advisory: cups security update

  • RHSA-2024:4265 Red Hat Product Security88 products fixed

    Red Hat Security Advisory: cups security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2024:5644 · 102 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2024:5644 · 102 productsMitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2024-35235 · 14 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionpoc2024-06-11
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.14.4read 2026-10-23
  • NVDCVSS 3.16.7read 2026-10-23
  • CNAweakness (CWE)CWE-252, CWE-59read 2026-10-23
  • FIRST EPSSEPSS score2.4 %2026-10-25
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2024-06-11
Last Modified
2026-06-17
NVD status
Analyzed

Frequently asked questions

What is CVE-2024-35235?

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.

Is CVE-2024-35235 actively exploited?

A proof-of-concept exploit exists for CVE-2024-35235, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-35235?

CVE-2024-35235 has a CVSS v3 base score of 6.7 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running cups? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month