CVE-2024-35235: Cupsd Listen arbitrary chmod 0140777
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.4% (FIRST EPSS); higher than 84.2% of all records.
- Someone with local access to the system can trigger it. Administrator privileges are required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Azure Linux 3.0 ARM 2.4.10-1; Azure Linux 3.0 x64 2.4.10-1; CBL Mariner 2.0 ARM 2.3.3op2-9.
- Severity is disputed: the assigning authority (CNA) scores it 4.4, NVD 6.7.
Low priority for now. Upgrade to Azure Linux 3.0 ARM 2.4.10-1; Azure Linux 3.0 x64 2.4.10-1; CBL Mariner 2.0 ARM 2.3.3op2-9 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 11, 2024
- Updated
- Jun 17, 2026
- EPSS
- 2.4% · 84th percentile
- CWE
- CWE-59
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.4%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 6.7
- CNA · GitHub_M
- 4.4
- 2.3 point gap
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| openprinting | cups | cpe:2.3:a:openprinting:cups |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- openprinting cupsup to 2.4.8 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
OpenPrinting cups
- <= 2.4.8affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | cups | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:8 | cups-client | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:8 | cups-devel | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:8 | cups-filesystem | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:8 | cups-ipptool | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:8 | cups-libs | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:8 | cups-lpd | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| AlmaLinux:9 | cups | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-client | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-devel | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-filesystem | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-ipptool | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-libs | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-lpd | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| AlmaLinux:9 | cups-printerapp | before 1:2.3.3op2-27.el9_4 | 1:2.3.3op2-27.el9_4 |
| Alpine:v3.17 | cups | before 2.4.9-r0 | 2.4.9-r0 |
| Debian:10 | cups | before 2.2.10-6+deb10u10 | 2.2.10-6+deb10u10 |
| Debian:12 | cups | before 2.4.2-3+deb12u6 | 2.4.2-3+deb12u6 |
| Debian:13 | cups | before 2.4.7-2 | 2.4.7-2 |
| openSUSE:Leap Micro 5.3 | cups | before 2.2.7-150000.3.59.1 | 2.2.7-150000.3.59.1 |
| openSUSE:Tumbleweed | cups | before 2.4.8-1.1 | 2.4.8-1.1 |
| Red Hat:enterprise_linux:8::appstream | cups | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| Red Hat:enterprise_linux:8::appstream | cups-client | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
| Red Hat:enterprise_linux:8::appstream | cups-client-debuginfo | before 1:2.2.6-60.el8_10 | 1:2.2.6-60.el8_10 |
+70
Same product
openprinting: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-58060cups has Authentication bypass with AuthType Negotiate32Monitor
- CVE-2023-4504OpenPrinting CUPS/libppd Postscript Parsing Heap Overflow28Monitor
- CVE-2023-34241CUPS vulnerable to use-after-free in cupsdAcceptClient()28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2023-32324Jun 1, 2023 · OpenPrinting CUPS vulnerable to heap buffer overflow22Monitor
- Later →CVE-2025-58364Sep 11, 2025 · cups: Remote DoS via null dereference26Monitor
- Later →CVE-2025-58436Nov 29, 2025 · OpenPrinting CUPS slow client can halt cupsd, leading to a possible DoS attack22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Azure Linux 3.0 ARM | 2.4.10-1 · cups | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 2.4.10-1 · cups | Microsoft (MSRC) |
| CBL Mariner 2.0 ARM | 2.3.3op2-9 · cups | Microsoft (MSRC) |
| CBL Mariner 2.0 x64 | 2.3.3op2-9 · cups | Microsoft (MSRC) |
| almalinux:cups | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-client | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-devel | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-filesystem | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-ipptool | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-libs | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-lpd | 1:2.2.6-60.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:cups-printerapp | 1:2.3.3op2-27.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| alpine:cups | 2.4.9-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:cups | 2.4.2-3+deb12u6 · Debian:12 | Package registry (OSV) |
| opensuse:cups | 2.2.7-150000.3.59.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| red hat:cups | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-client | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-client-debuginfo | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-debuginfo | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-debugsource | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-devel | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-filesystem | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-ipptool | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-ipptool-debuginfo | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-libs-debuginfo | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-lpd | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:cups-lpd-debuginfo | 1:2.2.6-60.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:cups | 1:2.2.6-60.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| suse:cups | 1.7.5-20.49.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:cups | 2.2.7-150000.3.59.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- Administrator privileges are required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- www.openwall.com/lists/oss-security/2024/06/12/5
- git.launchpad.net/ubuntu/+source/apparmor/tree/profiles/apparmor.d/abstractions/user-tmp#n21
- github.com/OpenPrinting/cups/blob/aba917003c8de55e5bf85010f0ecf1f1ddd1408e/cups/http-addr.c#L229-L240
- github.com/OpenPrinting/cups/commit/ff1f8a623e090dee8a8aadf12a6a4b25efac143d
- lists.debian.org/debian-lts-announce/2024/06/msg00001.html
- www.openwall.com/lists/oss-security/2024/11/08/3
Vendor advisories and official records. Exploit/PoC links are deliberately left out.