{"schemaVersion":3,"id":"CVE-2015-1158","aliases":["UBUNTU-CVE-2015-1158","DEBIAN-CVE-2015-1158"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2015-06-26T10:00:00.000Z","modified":"2024-08-06T04:33:20.700Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.29726,"percentile":0.98186,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.18699999999999828,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.29913},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.29726,"percentile":0.98186}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.29913,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.29726,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.29726,"percentile":0.98186}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"41233","name":"CUPS < 2.0.3 - Remote Command Execution","source":"exploit-database","url":"https://www.exploit-db.com/exploits/41233","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"remote","platform":"linux","file":"exploits/linux/remote/41233.py","codes":["CVE-2015-1158"]},"metasploit":null},{"id":"37336","name":"CUPS < 2.0.3 - Multiple Vulnerabilities","source":"exploit-database","url":"https://www.exploit-db.com/exploits/37336","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"multiple","file":"exploits/multiple/remote/37336.txt","codes":["CVE-2015-1158","OSVDB-123116"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-254","name":"7PK - Security Features","description":"Software security is not security software. Here we're concerned with topics like authentication, access control, confidentiality, cryptography, and privilege management.","type":"category","status":"Incomplete","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/254.html"}],"affected":[{"vendor":"cups","product":"cups","name":"cups","label":"cups","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.0.2","eol":null,"hubHref":"/vendor/cups/cups"},{"vendor":"debian","product":"cups","name":"cups","label":"cups","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cups","purlType":"deb","versions":[{"text":"< 1.7.5-12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.5-12","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cups","name":"cups","label":"cups","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cups","purlType":"deb","versions":[{"text":"< 1.7.2-0ubuntu1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.2-0ubuntu1.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641","label":"bugzilla.redhat.com/show_bug.cgi?id=1221641","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.debian.org/security/2015/dsa-3283","label":"www.debian.org/security/2015/dsa-3283","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html","label":"rhn.redhat.com/errata/RHSA-2015-1123.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208","label":"bugzilla.opensuse.org/show_bug.cgi?id=924208","hostname":"bugzilla.opensuse.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-2629-1","label":"www.ubuntu.com/usn/USN-2629-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702","label":"kb.juniper.net/InfoCenter/index?page=content&id=JSA10702","hostname":"kb.juniper.net","tags":["X Refsource CONFIRM"]},{"url":"http://www.securitytracker.com/id/1032556","label":"www.securitytracker.com/id/1032556","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html","label":"lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://www.cups.org/blog.php?L1082","label":"www.cups.org/blog.php?L1082","hostname":"www.cups.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"http://www.kb.cert.org/vuls/id/810572","label":"www.kb.cert.org/vuls/id/810572","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","US Government Resource","REPORT"]},{"url":"http://www.securityfocus.com/bid/75098","label":"www.securityfocus.com/bid/75098","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py","label":"github.com/0x00string/oldays/blob/master/CVE-2015-1158.py","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://www.cups.org/str.php?L4609","label":"www.cups.org/str.php?L4609","hostname":"www.cups.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/201510-07","label":"security.gentoo.org/glsa/201510-07","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://code.google.com/p/google-security-research/issues/detail?id=455","label":"code.google.com/p/google-security-research/issues/detail?id=455","hostname":"code.google.com","tags":["X Refsource MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html","label":"lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"https://www.exploit-db.com/exploits/37336/","label":"www.exploit-db.com/exploits/37336/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html","label":"googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html","hostname":"googleprojectzero.blogspot.in","tags":["X Refsource MISC"]},{"url":"https://www.exploit-db.com/exploits/41233/","label":"www.exploit-db.com/exploits/41233/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html","label":"lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"https://ubuntu.com/security/CVE-2015-1158","label":"ubuntu.com/security/CVE-2015-1158","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-2629-1","label":"ubuntu.com/security/notices/USN-2629-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1158","label":"www.cve.org/CVERecord?id=CVE-2015-1158","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-1158","label":"security-tracker.debian.org/tracker/CVE-2015-1158","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-239-1","DSA-3283-1","MGASA-2015-0247","OPENSUSE-SU-2024:10075-1","RHSA-2015:1123","SUSE-SU-2015:1041-1","SUSE-SU-2015:1044-1","SUSE-SU-2015:1044-2","USN-2629-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10075-1","SUSE-SU-2015:1041-1","SUSE-SU-2015:1044-1","SUSE-SU-2015:1044-2","USN-2629-1"]},"timeline":[{"kind":"published","date":"2015-06-26T10:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T04:33:20.700Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:40:48.901Z","stale":false,"partial":false}}