CVE-2015-1158 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can trigger memory corruption in CUPS via crafted IPP requests, potentially leading to arbitrary code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-1158?

CVE-2015-1158 is a critical memory corruption vulnerability in n/a, published on 26 Jun 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-254

Which versions are affected by CVE-2015-1158?

It affects 1 product.

Products include Cups Cups.

How do I fix CVE-2015-1158?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2015-1158 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-1158 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2015-1158, GHSA-f3f2-vc32-jrrx, UBUNTU-CVE-2015-1158.

Is CVE-2015-1158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free