{"schemaVersion":3,"id":"CVE-2021-4011","aliases":["SUSE-SU-2021:14867-1","UBUNTU-CVE-2021-4011","DEBIAN-CVE-2021-4011"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in xorg-x11-server in versions before 21.1.2 and before 1.20.14. An out-of-bounds access can occur in the SwapCreateRegister function. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","dates":{"published":"2021-12-17T00:00:00.000Z","modified":"2024-08-03T17:16:03.680Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00608,"percentile":0.48107,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.043000000000000066,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00565},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00608,"percentile":0.48107}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00608,"percentile":0.48107}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"debian","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xorg-server","purlType":"deb","versions":[{"text":"< 2:1.20.13-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:1.20.13-3","eol":null,"hubHref":null},{"vendor":"debian","product":"xwayland","name":"xwayland","label":"xwayland","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xwayland","purlType":"deb","versions":[{"text":"< 2:21.1.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:21.1.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server","purlType":"deb","versions":[{"text":"< 2:1.15.1-0ubuntu2.11+esm5","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.18.4-0ubuntu0.12+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.19.6-1ubuntu4.10","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.20.13-1ubuntu1~20.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.20.13-1ubuntu2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:1.15.1-0ubuntu2.11+esm5 | < 2:1.18.4-0ubuntu0.12+esm1 | < 2:1.19.6-1ubuntu4.10 | < 2:1.20.13-1ubuntu1~20.04.2 | < 2:1.20.13-1ubuntu2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server-hwe-16.04","name":"xorg-server-hwe-16.04","label":"xorg-server-hwe-16.04","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server-hwe-16.04","purlType":"deb","versions":[{"text":"< 2:1.19.6-1ubuntu4.1~16.04.6+esm5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:1.19.6-1ubuntu4.1~16.04.6+esm5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server-hwe-18.04","name":"xorg-server-hwe-18.04","label":"xorg-server-hwe-18.04","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server-hwe-18.04","purlType":"deb","versions":[{"text":"< 2:1.20.8-2ubuntu2.2~18.04.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:1.20.8-2ubuntu2.2~18.04.6","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xwayland","name":"xwayland","label":"xwayland","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xwayland","purlType":"deb","versions":[{"text":"< 2:21.1.3-1ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:21.1.3-1ubuntu1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0 | 11.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"suse","product":"xorg-x11-server&distro=SUSE Linux Enterprise Point of Sale 11 SP3","name":"xorg-x11-server","label":"xorg-x11-server&distro=SUSE Linux Enterprise Point of Sale 11 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/xorg-x11-server&distro=SUSE Linux Enterprise Point of Sale 11 SP3","purlType":"rpm","versions":[{"text":"< 7.4-27.122.46.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.4-27.122.46.1","eol":null,"hubHref":null},{"vendor":"suse","product":"xorg-x11-server&distro=SUSE Linux Enterprise Server 11 SP4-LTSS","name":"xorg-x11-server","label":"xorg-x11-server&distro=SUSE Linux Enterprise Server 11 SP4-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/xorg-x11-server&distro=SUSE Linux Enterprise Server 11 SP4-LTSS","purlType":"rpm","versions":[{"text":"< 7.4-27.122.46.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.4-27.122.46.1","eol":null,"hubHref":null},{"vendor":"x.org","product":"x_server","name":"x server","label":"x_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.20.14","noFixRecorded":false,"fixedIn":null},{"text":"21.1.0","noFixRecorded":false,"fixedIn":null},{"text":"21.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.20.14 | 21.1.0 | 21.1.1","eol":null,"hubHref":"/vendor/xorg/x_server"}],"affectedCount":11,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://lists.x.org/archives/xorg-announce/2021-December/003122.html","label":"lists.x.org/archives/xorg-announce/2021-December/003122.html","hostname":"lists.x.org","tags":["Vendor Advisory"]},{"url":"https://lists.x.org/archives/xorg-announce/2021-December/003124.html","label":"lists.x.org/archives/xorg-announce/2021-December/003124.html","hostname":"lists.x.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PDHYZM6FII35JA7J275MFCJO6ADJUPQX/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T57DCF726O5LLTST4NBL5PQ7DLPB46HT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-1550/","label":"www.zerodayinitiative.com/advisories/ZDI-21-1550/","hostname":"www.zerodayinitiative.com","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.debian.org/security/2021/dsa-5027","label":"www.debian.org/security/2021/dsa-5027","hostname":"www.debian.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00035.html","label":"lists.debian.org/debian-lts-announce/2021/12/msg00035.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NKLSZCY47QK4RCJFXITYFALCGPJAFXOK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXTRPFEQLFZ6NT2LPLZEID664RGC3OCC/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220114-0004/","label":"security.netapp.com/advisory/ntap-20220114-0004/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202305-30","label":"security.gentoo.org/glsa/202305-30","hostname":"security.gentoo.org","tags":["Vendor Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-202114867-1/","label":"www.suse.com/support/update/announcement/2021/suse-su-202114867-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1190489","label":"bugzilla.suse.com/1190489","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-4011","label":"www.suse.com/security/cve/CVE-2021-4011","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-4011","label":"ubuntu.com/security/CVE-2021-4011","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2021/12/14/1","label":"www.openwall.com/lists/oss-security/2021/12/14/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5193-1","label":"ubuntu.com/security/notices/USN-5193-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5193-2","label":"ubuntu.com/security/notices/USN-5193-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5193-3","label":"ubuntu.com/security/notices/USN-5193-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4011","label":"www.cve.org/CVERecord?id=CVE-2021-4011","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-4011","label":"security-tracker.debian.org/tracker/CVE-2021-4011","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2869-1","DSA-5027-1","MGASA-2021-0573","OPENSUSE-SU-2021:1606-1","OPENSUSE-SU-2021:4136-1","OPENSUSE-SU-2024:11685-1","OPENSUSE-SU-2024:11699-1","RHSA-2022:0003","RHSA-2022:1917","SUSE-SU-2021:4119-1","SUSE-SU-2021:4120-1","SUSE-SU-2021:4121-1","SUSE-SU-2021:4122-1","SUSE-SU-2021:4124-1","SUSE-SU-2021:4136-1","SUSE-SU-2021:4136-2","USN-5193-1","USN-5193-2","USN-5193-3"],"duplicates":[],"related":["OPENSUSE-SU-2021:1606-1","OPENSUSE-SU-2021:4136-1","OPENSUSE-SU-2024:11685-1","OPENSUSE-SU-2024:11699-1","SUSE-SU-2021:4119-1","SUSE-SU-2021:4120-1","SUSE-SU-2021:4121-1","SUSE-SU-2021:4122-1","SUSE-SU-2021:4124-1","SUSE-SU-2021:4136-1","SUSE-SU-2021:4136-2","USN-5193-1","USN-5193-2","USN-5193-3"]},"timeline":[{"kind":"published","date":"2021-12-17T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T17:16:03.680Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:08:49.121Z","stale":false,"partial":false}}