CVE-2015-1158: CUPS - Use After Free
- Cve: CVE-2015-1158
- Name: CUPS - Use After Free
- Description: The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-value job-originating-host-name attributes, which allows remote attackers to trigger data corruption for reference-counted strings via a crafted (1) IPP_CREATE_JOB or (2) IPP_PRINT_JOB request, as demonstrated by replacing the configuration file and consequently executing arbitrary code.
- Impact: Remote attackers can cause data corruption and potentially execute arbitrary code on the server.
- Remediation: Update to version 2.0.3 or later.
- Vulnerability type: use_after_free
- Vulnerability impact: data_tampering, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
- Epss score: 0.29726
- Epss percentile: 0.9824
- Assignee: [email protected]
- Published at: 2015-06-26T10:59:00Z
- Age in days: 4169
- Modified at: 2026-06-17T00:21:53Z
- References total: 20
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-1158
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-254 | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cups:cups | <= 2.0.2 | no | nvd | /v1/products/cups/cups |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts