{"id":"CVE-2015-1158","published":"2015-06-26T10:00:00Z","modified":"2024-08-06T04:33:20Z","title":"The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.29726,"percentile":0.98239,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2015/dsa-3283","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-2629-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1032556","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.cups.org/blog.php?L1082","tags":["x_refsource_CONFIRM"]},{"url":"http://www.kb.cert.org/vuls/id/810572","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/bid/75098","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py","tags":["x_refsource_MISC"]},{"url":"https://www.cups.org/str.php?L4609","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201510-07","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://code.google.com/p/google-security-research/issues/detail?id=455","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.exploit-db.com/exploits/37336/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/41233/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.65},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2015-06-22"},"first":{"date":"2015-06-22","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/37336"},"provenance":"source"},"summary":{"text":"The add_job function in scheduler/ipp.c of cupsd in CUPS (before 2.0.3) performs incorrect free operations on multiple-value job-originating-host-name attributes, leading to corruption of reference-counted strings. A remote attacker can exploit this by sending a crafted IPP_CREATE_JOB or IPP_PRINT_JOB request, which, as demonstrated, can be used to replace the configuration file and thereby execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:44:55Z"},"euvd":{"id":"EUVD-2015-1301","exploited":false,"provenance":"source"},"exploits":[{"id":37336,"url":"https://www.exploit-db.com/exploits/37336","title":"CUPS < 2.0.3 - Multiple Vulnerabilities","date":"2015-06-22","verified":true,"provenance":"source"},{"id":41233,"url":"https://www.exploit-db.com/exploits/41233","title":"CUPS < 2.0.3 - Remote Command Execution","date":"2017-02-03","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/37336/","https://www.exploit-db.com/exploits/41233/"]}