CWE
254
Advisory Published
CVE Published
Updated

CVE-2015-1158

First published: Thu May 14 2015(Updated: )

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.

Credit: product-security@apple.com

Affected SoftwareAffected VersionHow to fix
Apple CUPS<=2.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2015-1158?

    CVE-2015-1158 is assigned a medium severity rating due to its potential for data corruption and its impact on the affected systems.

  • How do I fix CVE-2015-1158?

    To fix CVE-2015-1158, upgrade to CUPS version 2.0.3 or later, which addresses the vulnerability.

  • Which versions of CUPS are affected by CVE-2015-1158?

    CVE-2015-1158 affects CUPS versions prior to 2.0.3.

  • Can CVE-2015-1158 lead to remote code execution?

    CVE-2015-1158 does not lead to remote code execution but allows for data corruption through crafted requests.

  • What types of operations allow exploitation of CVE-2015-1158?

    CVE-2015-1158 can be exploited through crafted IPP_CREATE_JOB or IPP_PRINT_JOB requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203