Skip to content
Fencer Intel
critical 10.0

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 Fencer

Vendor 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 cups
    affected: 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.1
    +10 more products
    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
    fixed: vendor fix “Disabling the cups web interface significantly reduces the impact of this security flaw.” RHSA-2015:1123

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

  1. First public exploit (EDB-37336)
  2. 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

  • EDB-41233 CUPS < 2.0.3 - Remote Command Execution remote, 2017-02-03
  • EDB-37336 CUPS < 2.0.3 - Multiple Vulnerabilities remote, 2015-06-22

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

References

Sources

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.