CVE-2015-1158 in the critical feed json
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…
published 11y ago modified 4mo ago also EUVD-2015-1301
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 29.7%
- EPSS 29.7% chance of exploitation in 30 days, percentile 98%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- cups Debian 14, Debian 13, Debian 12 1.7.5-12
debian advisories DEBIAN-CVE-2015-1158
- cups Ubuntu 14.04 LTS 1.7.2-0ubuntu1.6
ubuntu advisories UBUNTU-CVE-2015-1158
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cups RHEL 6 1:1.4.2-67.el6_6.1
- cups RHEL 7 1:1.6.3-17.el7_1.1
- cups RHEL 7 1:1.6.3-17.ael7b_1.1
- cups-lpd RHEL 6 1:1.4.2-67.el6_6.1
- cups-lpd RHEL 7 1:1.6.3-17.el7_1.1
- cups-lpd RHEL 7 1:1.6.3-17.ael7b_1.1
- cups-php RHEL 6 1:1.4.2-67.el6_6.1
- cups-libs RHEL 6 1:1.4.2-67.el6_6.1
red hat advisories RHSA-2015:1123
- cups154 SLE Module for Legacy 12 1.5.4-9.1
- cups SLES for SAP 12, SLES 12, SLED 12 +1 more 1.7.5-9.1
suse advisories SUSE-SU-2015:1044-1SUSE-SU-2015:1044-2SUSE-SU-2015:1041-1
- cups openSUSE Tumbleweed 2.1.3-2.3
opensuse advisories openSUSE-SU-2024:10075-1
Is CVE-2015-1158 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-1158 updated cvss 6.8
cups: incorrect string reference counting (VU#810572)
-
Red Hat Enterprise Linux 5 cupsaffected: workaround, no fix planned “Disabling the cups web interface significantly reduces the impact of this security flaw.”
-
Red Hat Enterprise Linux Client (v. 7) cups 1.6.3-17.el7_1.1, cups-lpd 1.6.3-17.el7_1.1, cups-libs 1.6.3-17.el7_1.1, cups-client 1.6.3-17.el7_1.1, cups-filesystem 1.6.3-17.el7_1.1 Red Hat Enterprise Linux Client Optional (v. 7) cups-ipptool 1.6.3-17.el7_1.1 Red Hat Enterprise Linux ComputeNode (v. 7) cups 1.6.3-17.el7_1.1, cups-lpd 1.6.3-17.el7_1.1, cups-libs 1.6.3-17.el7_1.1, cups-client 1.6.3-17.el7_1.1, cups-filesystem 1.6.3-17.el7_1.1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) cups-ipptool 1.6.3-17.el7_1.1 Red Hat Enterprise Linux Desktop (v. 6) cups 1.4.2-67.el6_6.1, cups-lpd 1.4.2-67.el6_6.1, cups-libs 1.4.2-67.el6_6.1 Red Hat Enterprise Linux Desktop Optional (v. 6) cups-php 1.4.2-67.el6_6.1fixed: vendor fix “Disabling the cups web interface significantly reduces the impact of this security flaw.” RHSA-2015:1123
+10 more productsfewer
Red Hat Enterprise Linux HPC Node (v. 6) cups 1.4.2-67.el6_6.1, cups-lpd 1.4.2-67.el6_6.1, cups-libs 1.4.2-67.el6_6.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) cups-php 1.4.2-67.el6_6.1 Red Hat Enterprise Linux Server (v. 6) cups 1.4.2-67.el6_6.1, cups-lpd 1.4.2-67.el6_6.1, cups-libs 1.4.2-67.el6_6.1 Red Hat Enterprise Linux Server (v. 7) cups 1.6.3-17.el7_1.1, cups 1.6.3-17.ael7b_1.1, cups-lpd 1.6.3-17.el7_1.1, cups-libs 1.6.3-17.el7_1.1, cups-lpd 1.6.3-17.ael7b_1.1, cups-client 1.6.3-17.el7_1.1, +4 more Red Hat Enterprise Linux Server Optional (v. 6) cups-php 1.4.2-67.el6_6.1 Red Hat Enterprise Linux Server Optional (v. 7) cups-ipptool 1.6.3-17.el7_1.1, cups-ipptool 1.6.3-17.ael7b_1.1 Red Hat Enterprise Linux Workstation (v. 6) cups 1.4.2-67.el6_6.1, cups-lpd 1.4.2-67.el6_6.1, cups-libs 1.4.2-67.el6_6.1 Red Hat Enterprise Linux Workstation (v. 7) cups 1.6.3-17.el7_1.1, cups-lpd 1.6.3-17.el7_1.1, cups-libs 1.6.3-17.el7_1.1, cups-client 1.6.3-17.el7_1.1, cups-filesystem 1.6.3-17.el7_1.1 Red Hat Enterprise Linux Workstation Optional (v. 6) cups-php 1.4.2-67.el6_6.1 Red Hat Enterprise Linux Workstation Optional (v. 7) cups-ipptool 1.6.3-17.el7_1.1
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-37336)
- Published
Exploit prediction
29.73% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-254 7PK - Security Features
References
-
exploit-db.com
/exploits/37336/
exploit
-
exploit-db.com
/exploits/41233/
exploit
-
debian.org
/security/2015/dsa-3283
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-1123.html
vendor-advisory
-
ubuntu.com
/usn/USN-2629-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2015-06/msg00006.html
vendor-advisory
-
security.gentoo.org
/glsa/201510-07
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2015-06/msg00003.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2015-06/msg00010.html
vendor-advisory
-
cups.org
/blog.php?L1082
vendor-advisory
-
cups.org
/str.php?L4609
vendor-advisory
- bugzilla.redhat.com /show_bug.cgi?id=1221641
- bugzilla.opensuse.org /show_bug.cgi?id=924208
- kb.juniper.net /InfoCenter/index?page=content&id=JSA10702
-
securitytracker.com
/id/1032556
vdb-entry
-
kb.cert.org
/vuls/id/810572
third-party-advisory, us-government-resource
-
securityfocus.com
/bid/75098
vdb-entry
- github.com /0x00string/oldays/blob/master/CVE-2015-1158.py
- code.google.com /p/google-security-research/issues/detail?id=455
- googleprojectzero.blogspot.in /2015/06/owning-internet-printing-case-study-in.html
Sources
- CVE List CVE-2015-1158
- NVD CVE-2015-1158
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.