CVE-2015-1158

critical
Published 2015-06-26 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
10.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-41233 remote linux
@0x00string ยท 2017-02-03

CUPS < 2.0.3 - Remote Command Execution

Source code queued for fetch โ€” refresh in a moment.
EDB-37336 remote multiple verified
Google Security Research ยท 2015-06-22

CUPS < 2.0.3 - Multiple Vulnerabilities

Source code queued for fetch โ€” refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1.7.5-12
sid Fixed 1.7.5-12
forky Fixed 1.7.5-12
bullseye Fixed 1.7.5-12
bookworm Fixed 1.7.5-12

Application impact

VendorProductVersionsFixed
cupscups{"endIncluding":"2.0.2"}

References

CWEs

CWE-254

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.