{
    "id": "CVE-2007-5849",
    "published": "2007-12-19 21:46:00",
    "last_modified": "2026-06-16 22:46:56",
    "cvss_score": "9.3",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-189",
    "description": "Integer underflow in the asn1_get_string function in the SNMP back end (backend/snmp.c) for CUPS 1.2 through 1.3.4 allows remote attackers to execute arbitrary code via a crafted SNMP response that triggers a stack-based buffer overflow.",
    "epss_score": "0.13610",
    "epss_percentile": "0.96362",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-10-02 18:17:07",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "apple",
            "product": "mac_os_x"
        },
        {
            "vendor": "easy_software_products",
            "product": "cups"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "30898",
            "title": "Common UNIX Printing System 1.2/1.3 SNMP - 'asn1_get_string()' Remote Buffer Overflow",
            "date": "2007-11-06",
            "url": "https://www.exploit-db.com/exploits/30898"
        }
    ],
    "refs_list": [
        "http://bugs.gentoo.org/show_bug.cgi?id=201570",
        "http://docs.info.apple.com/article.html?artnum=307179",
        "http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html",
        "http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html",
        "http://secunia.com/advisories/28113",
        "http://secunia.com/advisories/28129",
        "http://secunia.com/advisories/28136",
        "http://secunia.com/advisories/28200",
        "http://secunia.com/advisories/28386",
        "http://secunia.com/advisories/28441",
        "http://secunia.com/advisories/28636",
        "http://secunia.com/advisories/28676",
        "http://www.cups.org/str.php?L2589",
        "http://www.debian.org/security/2007/dsa-1437",
        "http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml",
        "http://www.mandriva.com/security/advisories?name=MDVSA-2008:036",
        "http://www.novell.com/linux/security/advisories/suse_security_summary_report.html",
        "http://www.securityfocus.com/bid/26910",
        "http://www.securityfocus.com/bid/26917",
        "http://www.ubuntu.com/usn/usn-563-1",
        "http://www.us-cert.gov/cas/techalerts/TA07-352A.html",
        "http://www.vupen.com/english/advisories/2007/4238",
        "http://www.vupen.com/english/advisories/2007/4242",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/39097",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/39101"
    ]
}