{"id":"CVE-2012-0217","url":"https://www.cyber-defence.io/tools/cve/CVE-2012-0217","generatedAt":"2026-11-05T08:21:43.653Z","title":"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…","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.","published":"2012-06-12T22:55:01.000Z","lastModified":"2026-06-16T23:36:55.000Z","status":"Modified","sourceIdentifier":"security@debian.org","cvss":{"version":"2.0","score":7.2,"severity":"HIGH","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C"},"cwe":["CWE-119"],"affected":["freebsd/freebsd","illumos/illumos","joyent/smartos","xen/xen","microsoft/windows 7","microsoft/windows server 2003","microsoft/windows server 2008","microsoft/windows xp","citrix/xenserver","netbsd/netbsd","sun/sunos"],"epss":{"score":0.39573,"percentile":0.98618,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":3,"verified":true,"firstPublished":"2012-08-27","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":46508,"kind":"exploit","title":"FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)","url":"https://www.exploit-db.com/exploits/46508","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd_x86-64/local/46508.rb","file":"exploits/freebsd_x86-64/local/46508.rb","published":"2019-03-07","added":"2019-03-07","updated":"2019-03-07","author":"Metasploit","type":"local","platform":"freebsd_x86-64","port":null,"verified":true,"codes":["CVE-2012-0217"],"tags":"Local","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/468679f9074ee4a7de7624d3440ff6e7f65cf9c2/modules/exploits/freebsd/local/intel_sysret_priv_esc.rb"},{"edbId":28718,"kind":"exploit","title":"FreeBSD 9.0 - Intel SYSRET Kernel Privilege Escalation","url":"https://www.exploit-db.com/exploits/28718","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd/local/28718.c","file":"exploits/freebsd/local/28718.c","published":"2013-10-04","added":"2013-10-06","updated":"2013-10-06","author":"CurcolHekerLink","type":"local","platform":"freebsd","port":null,"verified":true,"codes":["CVE-2012-0217","OSVDB-82949"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":"http://www.exploit-db.com/screenshots/idlt29000/screen-shot-2013-10-06-at-90938-am.png","referenceUrl":null},{"edbId":20861,"kind":"exploit","title":"Microsoft Windows Kernel - Intel x64 SYSRET (MS12-042)","url":"https://www.exploit-db.com/exploits/20861","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows_x86-64/local/20861.txt","file":"exploits/windows_x86-64/local/20861.txt","published":"2012-08-27","added":"2012-08-27","updated":"2017-07-14","author":"Shahriyar Jalayeri","type":"local","platform":"windows_x86-64","port":null,"verified":true,"codes":["CVE-2012-0217","OSVDB-82850","MS12-042"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":"http://www.exploit-db.com/screenshots/idlt21000/screen-shot-2012-08-27-at-100534-am.png","referenceUrl":"http://packetstormsecurity.org/files/115908/sysret.rar"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 39.6%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://blog.illumos.org/2012/06/14/illumos-vulnerability-patched/","source":"security@debian.org"},{"url":"http://blog.xen.org/index.php/2012/06/13/the-intel-sysret-privilege-escalation/","source":"security@debian.org"},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2012-003.txt.asc","source":"security@debian.org"},{"url":"http://lists.xen.org/archives/html/xen-announce/2012-06/msg00001.html","source":"security@debian.org"},{"url":"http://lists.xen.org/archives/html/xen-devel/2012-06/msg01072.html","source":"security@debian.org"},{"url":"http://secunia.com/advisories/55082","source":"security@debian.org"},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc","source":"security@debian.org"},{"url":"http://security.gentoo.org/glsa/glsa-201309-24.xml","source":"security@debian.org"},{"url":"http://smartos.org/2012/06/15/smartos-news-3/","source":"security@debian.org"},{"url":"http://support.citrix.com/article/CTX133161","source":"security@debian.org"},{"url":"http://wiki.smartos.org/display/DOC/SmartOS+Change+Log#SmartOSChangeLog-June14%2C2012","source":"security@debian.org"},{"url":"http://www.debian.org/security/2012/dsa-2501","source":"security@debian.org"},{"url":"http://www.debian.org/security/2012/dsa-2508","source":"security@debian.org"},{"url":"http://www.kb.cert.org/vuls/id/649219","tags":["US Government Resource"],"source":"security@debian.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:150","source":"security@debian.org"},{"url":"http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html","source":"security@debian.org"},{"url":"http://www.us-cert.gov/cas/techalerts/TA12-164A.html","tags":["US Government Resource"],"source":"security@debian.org"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=813428","source":"security@debian.org"},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-042","source":"security@debian.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15596","source":"security@debian.org"},{"url":"https://www.exploit-db.com/exploits/28718/","source":"security@debian.org"},{"url":"https://www.exploit-db.com/exploits/46508/","source":"security@debian.org"},{"url":"https://www.illumos.org/issues/2873","source":"security@debian.org"},{"url":"http://blog.illumos.org/2012/06/14/illumos-vulnerability-patched/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://blog.xen.org/index.php/2012/06/13/the-intel-sysret-privilege-escalation/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2012-003.txt.asc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.xen.org/archives/html/xen-announce/2012-06/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.xen.org/archives/html/xen-devel/2012-06/msg01072.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/55082","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-201309-24.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://smartos.org/2012/06/15/smartos-news-3/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.citrix.com/article/CTX133161","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://wiki.smartos.org/display/DOC/SmartOS+Change+Log#SmartOSChangeLog-June14%2C2012","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2012/dsa-2501","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2012/dsa-2508","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.kb.cert.org/vuls/id/649219","tags":["US Government Resource"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:150","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.us-cert.gov/cas/techalerts/TA12-164A.html","tags":["US Government Resource"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=813428","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-042","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15596","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/28718/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/46508/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.illumos.org/issues/2873","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-0217","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}