CVEfocus › CVE database › CVE-2015-1158

CVE-2015-1158

EPSS 29.7% (higher than 98% of CVEs)Published 2015-06-26Updated 2024-08-06Assigner: apple

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.

What to do

Likely to be exploited: EPSS gives a 30% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04cupsFixed1.7.2-0ubuntu1.6UBUNTU-CVE-2015-1158
Debian 14cupsFixed1.7.5-12DEBIAN-CVE-2015-1158
Debian 13cupsFixed1.7.5-12DEBIAN-CVE-2015-1158
Debian 12cupsFixed1.7.5-12DEBIAN-CVE-2015-1158
Red Hat Enterprise Linux 7cupsFixed1:1.6.3-17.ael7b_1.1RHSA-2015:1123
Red Hat Enterprise Linux 7cups-clientFixed1:1.6.3-17.el7_1.1RHSA-2015:1123
Red Hat Enterprise Linux 7cups-develFixed1:1.6.3-17.ael7b_1.1RHSA-2015:1123
Red Hat Enterprise Linux 7cups-filesystemFixed1:1.6.3-17.el7_1.1RHSA-2015:1123
Red Hat Enterprise Linux 7cups-ipptoolFixed1:1.6.3-17.el7_1.1RHSA-2015:1123
Red Hat Enterprise Linux 7cups-libsFixed1:1.6.3-17.el7_1.1RHSA-2015:1123
Red Hat Enterprise Linux 7cups-lpdFixed1:1.6.3-17.el7_1.1RHSA-2015:1123
Red Hat Enterprise Linux 6cupsFixed1:1.4.2-67.el6_6.1RHSA-2015:1123
Red Hat Enterprise Linux 6cups-develFixed1:1.4.2-67.el6_6.1RHSA-2015:1123
Red Hat Enterprise Linux 6cups-libsFixed1:1.4.2-67.el6_6.1RHSA-2015:1123
Red Hat Enterprise Linux 6cups-lpdFixed1:1.4.2-67.el6_6.1RHSA-2015:1123
Red Hat Enterprise Linux 6cups-phpFixed1:1.4.2-67.el6_6.1RHSA-2015:1123
Red Hat Enterprise Linux 5cupsWill not fix
Will not fix

What the vendor says

As published in the CVE record by apple, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.