{
    "id": "CVE-2012-0217",
    "published": "2012-06-12 22:55:01",
    "last_modified": "2026-06-16 23:36:54",
    "cvss_score": "7.2",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-119",
    "description": "The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and other products; Oracle Solaris 11 and earlier; illumos before r13724; Joyent SmartOS before 20120614T184600Z; FreeBSD before 9.0-RELEASE-p3; NetBSD 6.0 Beta and earlier; Microsoft Windows Server 2008 R2 and R2 SP1 and Windows 7 Gold and SP1; and possibly other operating systems, when running on an Intel processor, incorrectly uses the sysret path in cases where a certain address is not a canonical address, which allows local users to gain privileges via a crafted application.  NOTE: because this issue is due to incorrect use of the Intel specification, it should have been split into separate identifiers; however, there was some value in preserving the original mapping of the multi-codebase coordinated-disclosure effort to a single identifier.",
    "epss_score": "0.39835",
    "epss_percentile": "0.98579",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-27 18:17:10",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "citrix",
            "product": "xenserver"
        },
        {
            "vendor": "freebsd",
            "product": "freebsd"
        },
        {
            "vendor": "illumos",
            "product": "illumos"
        },
        {
            "vendor": "joyent",
            "product": "smartos"
        },
        {
            "vendor": "microsoft",
            "product": "windows_7"
        },
        {
            "vendor": "microsoft",
            "product": "windows_server_2003"
        },
        {
            "vendor": "microsoft",
            "product": "windows_server_2008"
        },
        {
            "vendor": "microsoft",
            "product": "windows_xp"
        },
        {
            "vendor": "netbsd",
            "product": "netbsd"
        },
        {
            "vendor": "sun",
            "product": "sunos"
        },
        {
            "vendor": "xen",
            "product": "xen"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "46508",
            "title": "FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)",
            "date": "2019-03-07",
            "url": "https://www.exploit-db.com/exploits/46508"
        },
        {
            "source": "exploit-db",
            "ref_id": "28718",
            "title": "FreeBSD 9.0 - Intel SYSRET Kernel Privilege Escalation",
            "date": "2013-10-04",
            "url": "https://www.exploit-db.com/exploits/28718"
        },
        {
            "source": "exploit-db",
            "ref_id": "20861",
            "title": "Microsoft Windows Kernel - Intel x64 SYSRET (MS12-042)",
            "date": "2012-08-27",
            "url": "https://www.exploit-db.com/exploits/20861"
        }
    ],
    "refs_list": [
        "http://blog.illumos.org/2012/06/14/illumos-vulnerability-patched/",
        "http://blog.xen.org/index.php/2012/06/13/the-intel-sysret-privilege-escalation/",
        "http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2012-003.txt.asc",
        "http://lists.xen.org/archives/html/xen-announce/2012-06/msg00001.html",
        "http://lists.xen.org/archives/html/xen-devel/2012-06/msg01072.html",
        "http://secunia.com/advisories/55082",
        "http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc",
        "http://security.gentoo.org/glsa/glsa-201309-24.xml",
        "http://smartos.org/2012/06/15/smartos-news-3/",
        "http://support.citrix.com/article/CTX133161",
        "http://wiki.smartos.org/display/DOC/SmartOS+Change+Log#SmartOSChangeLog-June14%2C2012",
        "http://www.debian.org/security/2012/dsa-2501",
        "http://www.debian.org/security/2012/dsa-2508",
        "http://www.kb.cert.org/vuls/id/649219",
        "http://www.mandriva.com/security/advisories?name=MDVSA-2013:150",
        "http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html",
        "http://www.us-cert.gov/cas/techalerts/TA12-164A.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=813428",
        "https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-042",
        "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15596",
        "https://www.exploit-db.com/exploits/28718/",
        "https://www.exploit-db.com/exploits/46508/",
        "https://www.illumos.org/issues/2873",
        "http://blog.illumos.org/2012/06/14/illumos-vulnerability-patched/",
        "http://blog.xen.org/index.php/2012/06/13/the-intel-sysret-privilege-escalation/"
    ]
}