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-
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.
- Published
- Jun 26, 2015
- Updated
- Jun 16, 2026
- EPSS
- 29.9% · 98th percentile
- CWE
- CWE-254
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
49
Plan
Add it to your regular patch cycle.
- CVSS
- 40 / 40 · 10.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 9 / 30 · 29.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| cups | cups | cpe:2.3:a:cups:cups |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- cups cupsup to 2.0.2 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | cups | before 1.7.5-12 | 1.7.5-12 |
| Debian:6.0 | cups | before 1.4.4-7+squeeze8 | 1.4.4-7+squeeze8 |
| Debian:7 | cups | before 1.5.3-5+deb7u6 | 1.5.3-5+deb7u6 |
| Debian:8 | cups | before 1.7.5-11+deb8u1 | 1.7.5-11+deb8u1 |
| openSUSE:Tumbleweed | cups | before 2.1.3-2.3 | 2.1.3-2.3 |
| Red Hat:enterprise_linux:6::client | cups | before 1:1.4.2-67.el6_6.1 | 1:1.4.2-67.el6_6.1 |
| Red Hat:enterprise_linux:6::client | cups-debuginfo | before 1:1.4.2-67.el6_6.1 | 1:1.4.2-67.el6_6.1 |
| Red Hat:enterprise_linux:6::client | cups-devel | before 1:1.4.2-67.el6_6.1 | 1:1.4.2-67.el6_6.1 |
| Red Hat:enterprise_linux:6::client | cups-libs | before 1:1.4.2-67.el6_6.1 | 1:1.4.2-67.el6_6.1 |
| Red Hat:enterprise_linux:6::client | cups-lpd | before 1:1.4.2-67.el6_6.1 | 1:1.4.2-67.el6_6.1 |
| Red Hat:enterprise_linux:6::client | cups-php | before 1:1.4.2-67.el6_6.1 | 1:1.4.2-67.el6_6.1 |
| Red Hat:enterprise_linux:7::client | cups | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-client | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-debuginfo | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-devel | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-filesystem | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-ipptool | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-libs | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::client | cups-lpd | before 1:1.6.3-17.el7_1.1 | 1:1.6.3-17.el7_1.1 |
| Red Hat:enterprise_linux:7::server | cups | before 1:1.6.3-17.ael7b_1.1 | 1:1.6.3-17.ael7b_1.1 |
| Red Hat:enterprise_linux:7::server | cups-client | before 1:1.6.3-17.ael7b_1.1 | 1:1.6.3-17.ael7b_1.1 |
| Red Hat:enterprise_linux:7::server | cups-debuginfo | before 1:1.6.3-17.ael7b_1.1 | 1:1.6.3-17.ael7b_1.1 |
| Red Hat:enterprise_linux:7::server | cups-devel | before 1:1.6.3-17.ael7b_1.1 | 1:1.6.3-17.ael7b_1.1 |
| Red Hat:enterprise_linux:7::server | cups-filesystem | before 1:1.6.3-17.ael7b_1.1 | 1:1.6.3-17.ael7b_1.1 |
+5
Same product
cups: all recordsOther highest-scoring records for the same primary product.
- CVE-2008-0882Double free vulnerability in the process_browse_data function in CUPS 1.3.5 allows remote attackers to cause a denial of service (daemon cra42Plan
- CVE-2007-4351Off-by-one error in the ippReadIO function in cups/ipp.c in CUPS 1.3.3 allows remote attackers to cause a denial of service (crash) via a cr42Plan
- CVE-2014-8166The browsing feature in the server in CUPS does not filter ANSI escape sequences from shared printer names, which might allow remote attacke36Monitor
- CVE-2018-6553AppArmor cupsd Sandbox Bypass Due to Use of Hard Links35Monitor
- CVE-2005-4873Multiple stack-based buffer overflows in the phpcups PHP module for CUPS 1.1.23rc1 might allow context-dependent attackers to execute arbitr31Monitor
- CVE-2007-0720The CUPS service on multiple platforms allows remote attackers to cause a denial of service (service hang) via a "partially-negotiated" SSL 22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:cups | 1.7.5-12 · Debian:12 | Package registry (OSV) |
| opensuse:cups | 2.1.3-2.3 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:cups | 1:1.4.2-67.el6_6.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:cups-client | 1:1.6.3-17.el7_1.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-debuginfo | 1:1.4.2-67.el6_6.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:cups-devel | 1:1.4.2-67.el6_6.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:cups-filesystem | 1:1.6.3-17.el7_1.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-ipptool | 1:1.6.3-17.el7_1.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-libs | 1:1.4.2-67.el6_6.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:cups-lpd | 1:1.4.2-67.el6_6.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:cups-php | 1:1.4.2-67.el6_6.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:cups | 1.7.5-9.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| suse:cups154 | 1.5.4-9.1 · SUSE:Linux Enterprise Module for Legacy 12 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2017-02-03 |
| Exploit-DB entry | remote | 2015-06-22 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-4 d
- Published
- TodaySep 30, 2026+4114 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-254 · 7PK - Security FeaturesCVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
- lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
- lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
- rhn.redhat.com/errata/RHSA-2015-1123.html
- www.cups.org/blog.php?L1082
- www.debian.org/security/2015/dsa-3283
- www.kb.cert.org/vuls/id/810572
- www.securityfocus.com/bid/75098
- www.securitytracker.com/id/1032556
- www.ubuntu.com/usn/USN-2629-1
- bugzilla.opensuse.org/show_bug.cgi?id=924208
- bugzilla.redhat.com/show_bug.cgi?id=1221641
- code.google.com/p/google-security-research/issues/detail?id=455
- github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
- security.gentoo.org/glsa/201510-07
- www.cups.org/str.php?L4609
- www.exploit-db.com/exploits/37336/
- www.exploit-db.com/exploits/41233/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.