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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cups | 1.7.5-12 | — |
| Debian 13 | cups | 1.7.5-12 | — |
| Debian 12 | cups | 1.7.5-12 | — |
| Debian 8 | cups | 1.7.5-11+deb8u1 | DSA-3283-1 |
| Debian 7 | cups | 1.5.3-5+deb7u6 | DSA-3283-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | cups | 1.4.4-7+squeeze8 | DLA-239-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | cups | 1.7.2-0ubuntu1.6 | USN-2629-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | cups +6 | 1:1.6.3-17.ael7b_1.1 | RHSA-2015:1123 |
| RHEL 6 | cups +4 | 1:1.4.2-67.el6_6.1 | RHSA-2015:1123 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | cups | 1.7.5-9.1 | SUSE-SU-2015:1041-1 |
| SLES 12 | cups154 | 1.5.4-9.1 | SUSE-SU-2015:1044-2, SUSE-SU-2015:1044-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | cups | 1.7.5-9.1 | SUSE-SU-2015:1041-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cups | 2.1.3-2.3 | openSUSE-SU-2024:10075-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | cups +6 | 1:1.6.3-17.el7_1.1 | ELSA-2015-1123 |
| Oracle Linux 7 | cups-php | 1:1.4.2-67.el6_6.1 | ELSA-2015-1123 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- CUPS < 2.0.3 - Remote Command Execution EDB-41233 · remote · Feb 3, 2017
- CUPS < 2.0.3 - Multiple Vulnerabilities EDB-37336 · remote · Jun 22, 2015 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 9
- RHSA-2015:1123 Red Hat Security Advisory: cups security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-2629-1 cups vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3283-1 cups - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-239-1 cups - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:1044-2 Security update for cups154 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1044-1 Security update for cups154 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10075-1 cups-2.1.3-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1041-1 Security update for cups SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2015-1123 Important: cups security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 17, 2015
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1221641
- DSA-3283 vendor-advisory
- RHSA-2015:1123 vendor-advisory
- https://bugzilla.opensuse.org/show_bug.cgi?id=924208
- USN-2629-1 vendor-advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
- 1032556 vdb-entry
- SUSE-SU-2015:1044 vendor-advisory
- http://www.cups.org/blog.php?L1082
- VU#810572 third-party-advisory
- 75098 vdb-entry
- https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
- https://www.cups.org/str.php?L4609
- GLSA-201510-07 vendor-advisory
- https://code.google.com/p/google-security-research/issues/detail?id=455
- SUSE-SU-2015:1041 vendor-advisory
- 37336 exploit
- http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
- 41233 exploit
- openSUSE-SU-2015:1056 vendor-advisory