{"api_version":"1","generated_at":"2026-05-14T00:14:48+00:00","cve":"CVE-2015-1158","urls":{"html":"https://cve.report/CVE-2015-1158","api":"https://cve.report/api/cve/CVE-2015-1158.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-1158","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-1158"},"summary":{"title":"CVE-2015-1158","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.","state":"PUBLISHED","assigner":"apple","published_at":"2015-06-26 10:59:00","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-254","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html","name":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Project Zero: Owning Internet Printing - A Case Study in Modern Software Exploitation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/75098","name":"http://www.securityfocus.com/bid/75098","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CUPS CVE-2015-1158 Remote Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html","name":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] openSUSE-SU-2015:1056-1: critical: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html","name":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE-SU-2015:1041-1: critical: Security update for c","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208","name":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"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)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2015/dsa-3283","name":"http://www.debian.org/security/2015/dsa-3283","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-3283-1 cups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html","name":"http://rhn.redhat.com/errata/RHSA-2015-1123.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://code.google.com/p/google-security-research/issues/detail?id=455","name":"https://code.google.com/p/google-security-research/issues/detail?id=455","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Issue 455 - \n google-security-research -\n \n Placeholder: PoC for cupsd exploit of string reference count over decrement - \n Google Security Research - Google Project Hosting","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cups.org/str.php?L4609","name":"https://www.cups.org/str.php?L4609","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"CERT VU#810572: Privilege escalation through dynamic linker and isolated vulnerabilities · Issue #4609 · apple/cups · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 1221641 – CVE-2015-1158 cups: incorrect string reference counting (VU#810572)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201510-07","name":"https://security.gentoo.org/glsa/201510-07","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CUPS: Multiple vulnerabilities  (GLSA 201510-07) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.kb.cert.org/vuls/id/810572","name":"http://www.kb.cert.org/vuls/id/810572","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","US Government Resource"],"title":"Vulnerability Note VU#810572 - CUPS print service is vulnerable to privilege escalation and cross-site scripting","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/37336/","name":"https://www.exploit-db.com/exploits/37336/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Exploit – Page 37336 – Exploits Database","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id/1032556","name":"http://www.securitytracker.com/id/1032556","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CUPS Bugs Let Remote Users Gain Elevated Privileges and Conduct Cross-Site Scripting Attacks - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/41233/","name":"https://www.exploit-db.com/exploits/41233/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CUPS < 2.0.3 - Remote Command Execution","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.cups.org/blog.php?L1082","name":"http://www.cups.org/blog.php?L1082","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"CUPS 2.0.3 - CUPS.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html","name":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE-SU-2015:1044-1: critical: Security update for c","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-2629-1","name":"http://www.ubuntu.com/usn/USN-2629-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-2629-1: CUPS vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py","name":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oldays/CVE-2015-1158.py at master · 0x00string/oldays · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702","name":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"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","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1158","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1158","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"1158","vulnerable":"1","versionEndIncluding":"2.0.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cups","cpe5":"cups","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T04:33:20.700Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641"},{"name":"DSA-3283","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2015/dsa-3283"},{"name":"RHSA-2015:1123","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208"},{"name":"USN-2629-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-2629-1"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702"},{"name":"1032556","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id/1032556"},{"name":"SUSE-SU-2015:1044","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.cups.org/blog.php?L1082"},{"name":"VU#810572","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"],"url":"http://www.kb.cert.org/vuls/id/810572"},{"name":"75098","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/75098"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://www.cups.org/str.php?L4609"},{"name":"GLSA-201510-07","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201510-07"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://code.google.com/p/google-security-research/issues/detail?id=455"},{"name":"SUSE-SU-2015:1041","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"},{"name":"37336","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/37336/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html"},{"name":"41233","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/41233/"},{"name":"openSUSE-SU-2015:1056","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2015-06-08T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-09-22T09:57:01.000Z","orgId":"286789f9-fbc2-4510-9f9a-43facdede74c","shortName":"apple"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641"},{"name":"DSA-3283","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2015/dsa-3283"},{"name":"RHSA-2015:1123","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208"},{"name":"USN-2629-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-2629-1"},{"tags":["x_refsource_CONFIRM"],"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702"},{"name":"1032556","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id/1032556"},{"name":"SUSE-SU-2015:1044","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.cups.org/blog.php?L1082"},{"name":"VU#810572","tags":["third-party-advisory","x_refsource_CERT-VN"],"url":"http://www.kb.cert.org/vuls/id/810572"},{"name":"75098","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/75098"},{"tags":["x_refsource_MISC"],"url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py"},{"tags":["x_refsource_CONFIRM"],"url":"https://www.cups.org/str.php?L4609"},{"name":"GLSA-201510-07","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201510-07"},{"tags":["x_refsource_MISC"],"url":"https://code.google.com/p/google-security-research/issues/detail?id=455"},{"name":"SUSE-SU-2015:1041","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"},{"name":"37336","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/37336/"},{"tags":["x_refsource_MISC"],"url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html"},{"name":"41233","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/41233/"},{"name":"openSUSE-SU-2015:1056","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"product-security@apple.com","ID":"CVE-2015-1158","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641"},{"name":"DSA-3283","refsource":"DEBIAN","url":"http://www.debian.org/security/2015/dsa-3283"},{"name":"RHSA-2015:1123","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html"},{"name":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208","refsource":"CONFIRM","url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208"},{"name":"USN-2629-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2629-1"},{"name":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702","refsource":"CONFIRM","url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702"},{"name":"1032556","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1032556"},{"name":"SUSE-SU-2015:1044","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"},{"name":"http://www.cups.org/blog.php?L1082","refsource":"CONFIRM","url":"http://www.cups.org/blog.php?L1082"},{"name":"VU#810572","refsource":"CERT-VN","url":"http://www.kb.cert.org/vuls/id/810572"},{"name":"75098","refsource":"BID","url":"http://www.securityfocus.com/bid/75098"},{"name":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py","refsource":"MISC","url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py"},{"name":"https://www.cups.org/str.php?L4609","refsource":"CONFIRM","url":"https://www.cups.org/str.php?L4609"},{"name":"GLSA-201510-07","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201510-07"},{"name":"https://code.google.com/p/google-security-research/issues/detail?id=455","refsource":"MISC","url":"https://code.google.com/p/google-security-research/issues/detail?id=455"},{"name":"SUSE-SU-2015:1041","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"},{"name":"37336","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/37336/"},{"name":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html","refsource":"MISC","url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html"},{"name":"41233","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/41233/"},{"name":"openSUSE-SU-2015:1056","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"}]}}}},"cveMetadata":{"assignerOrgId":"286789f9-fbc2-4510-9f9a-43facdede74c","assignerShortName":"apple","cveId":"CVE-2015-1158","datePublished":"2015-06-26T10:00:00.000Z","dateReserved":"2015-01-16T00:00:00.000Z","dateUpdated":"2024-08-06T04:33:20.700Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2015-06-26 10:59:00","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-254","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cups:cups:*:*:*:*:*:*:*:*","versionEndIncluding":"2.0.2","matchCriteriaId":"E16A5939-A072-4A0C-AD13-9A580B0DF4D3"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"1158","Ordinal":"1","Title":"CVE-2015-1158","CVE":"CVE-2015-1158","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"1158","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2015-1158"},{"CveYear":"2015","CveId":"1158","Ordinal":"2","NoteData":"2015-06-26","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"1158","Ordinal":"3","NoteData":"2017-09-22","Type":"Other","Title":"Modified"}]}}}