{
    "id": "CVE-2015-1158",
    "published": "2015-06-26 10:59:00",
    "last_modified": "2026-06-17 00:21:53",
    "cvss_score": "10.0",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-254",
    "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.",
    "epss_score": "0.29913",
    "epss_percentile": "0.98151",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-29 18:17:13",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "cups",
            "product": "cups"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "41233",
            "title": "CUPS < 2.0.3 - Remote Command Execution",
            "date": "2017-02-03",
            "url": "https://www.exploit-db.com/exploits/41233"
        },
        {
            "source": "exploit-db",
            "ref_id": "37336",
            "title": "CUPS < 2.0.3 - Multiple Vulnerabilities",
            "date": "2015-06-22",
            "url": "https://www.exploit-db.com/exploits/37336"
        }
    ],
    "refs_list": [
        "http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html",
        "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702",
        "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html",
        "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html",
        "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html",
        "http://rhn.redhat.com/errata/RHSA-2015-1123.html",
        "http://www.cups.org/blog.php?L1082",
        "http://www.debian.org/security/2015/dsa-3283",
        "http://www.kb.cert.org/vuls/id/810572",
        "http://www.securityfocus.com/bid/75098",
        "http://www.securitytracker.com/id/1032556",
        "http://www.ubuntu.com/usn/USN-2629-1",
        "https://bugzilla.opensuse.org/show_bug.cgi?id=924208",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1221641",
        "https://code.google.com/p/google-security-research/issues/detail?id=455",
        "https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py",
        "https://security.gentoo.org/glsa/201510-07",
        "https://www.cups.org/str.php?L4609",
        "https://www.exploit-db.com/exploits/37336/",
        "https://www.exploit-db.com/exploits/41233/",
        "http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html",
        "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702",
        "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html",
        "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html",
        "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"
    ]
}