CVE-2015-1158

Summary

CVECVE-2015-1158
StatePUBLISHED
Assignerapple
Source PriorityCVE Program / NVD first with legacy fallback
Published2015-06-26 10:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 10 from [email protected]

AV:N/AC:L/Au:N/C:C/I:C/A:C

Problem Types: CWE-254 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cups Cups All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Project Zero: Owning Internet Printing - A Case Study in Modern Software Exploitation af854a3a-2127-422b-91ae-364da2661108 googleprojectzero.blogspot.in
CUPS CVE-2015-1158 Remote Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[security-announce] openSUSE-SU-2015:1056-1: critical: Security update f af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
[security-announce] SUSE-SU-2015:1041-1: critical: Security update for c af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Bug 924208 – VUL-0: CVE-2015-1158 CVE-2015-1159: cups: privilege escalation via cross-site scripting and bad print job submission used to replace cupsd.conf on server (plus weird ld.so interaction) af854a3a-2127-422b-91ae-364da2661108 bugzilla.opensuse.org
Debian -- Security Information -- DSA-3283-1 cups af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Issue 455 - google-security-research - Placeholder: PoC for cupsd exploit of string reference count over decrement - Google Security Research - Google Project Hosting af854a3a-2127-422b-91ae-364da2661108 code.google.com
CERT VU#810572: Privilege escalation through dynamic linker and isolated vulnerabilities · Issue #4609 · apple/cups · GitHub af854a3a-2127-422b-91ae-364da2661108 www.cups.org Vendor Advisory
Bug 1221641 – CVE-2015-1158 cups: incorrect string reference counting (VU#810572) af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
CUPS: Multiple vulnerabilities (GLSA 201510-07) — Gentoo Security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Vulnerability Note VU#810572 - CUPS print service is vulnerable to privilege escalation and cross-site scripting af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org Third Party Advisory, US Government Resource
Exploit – Page 37336 – Exploits Database af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
CUPS Bugs Let Remote Users Gain Elevated Privileges and Conduct Cross-Site Scripting Attacks - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
CUPS < 2.0.3 - Remote Command Execution af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
CUPS 2.0.3 - CUPS.org af854a3a-2127-422b-91ae-364da2661108 www.cups.org Vendor Advisory
[security-announce] SUSE-SU-2015:1044-1: critical: Security update for c af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
USN-2629-1: CUPS vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
oldays/CVE-2015-1158.py at master · 0x00string/oldays · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
2015-10 Security Bulletin: QFabric 3100 Director: CUPS printing system Improper Update of Reference Count leads to remote chained vulnerability attack via XSS against authenticated users (CVE-2015-1158, CVE-2015-1159) - Juniper Networks af854a3a-2127-422b-91ae-364da2661108 kb.juniper.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report