CVE-2015-1158
The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-value…
- 10.0HighCVSS base score
- 29.7%Exploitation in 30 daysEPSS · top 1.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Exploit-DB entries for it. 2 references of the record are tagged as an exploit.
Show the exploits4
Exploit-DB2 entries
- CUPS < 2.0.3 - Remote Command Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 41233remote, linuxpublished 3 Feb 2017Not verified
- CUPS < 2.0.3 - Multiple Vulnerabilities (Exploit-DB entry) (opens in a new tab)
EDB-ID 37336remote, multiplepublished 22 Jun 2015Verified
References tagged exploit2 references
- 37336 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 41233 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apple
- 5 months later
· 5 months later
Published
- 9 years later
· 9 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 29.7% · top 1.8% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 10.0.
Affected products
n/a
- affected n/a
References
20
- https://bugzilla.redhat.com/show_bug.cgi?id=1221641 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-3283 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2015:1123 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.opensuse.org/show_bug.cgi?id=924208 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-2629-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1032556 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- SUSE-SU-2015:1044 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://www.cups.org/blog.php?L1082 (opens in a new tab)x_refsource_CONFIRMx_transferred
- VU#810572 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- 75098 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py (opens in a new tab)x_refsource_MISCx_transferred
- https://www.cups.org/str.php?L4609 (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201510-07 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://code.google.com/p/google-security-research/issues/detail?id=455 (opens in a new tab)x_refsource_MISCx_transferred
- SUSE-SU-2015:1041 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 37336 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html (opens in a new tab)x_refsource_MISCx_transferred
- 41233 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- openSUSE-SU-2015:1056 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2015-1301 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2015-1158)Record last updated .