Skip to content
Heist/ feed
Back to feed
HighFix available

xorg-server, xwayland — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-4011

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.

Products
xorg-server, xwayland
Affected versions
Not specified
Fixed versions
2:1.20.13-3, 2:21.1.4-1
CVEs
CVE-2021-4011
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-4011

core-osv · Original source

Published 17 Dec 2021, 17:15 UTC

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.

osv:DEBIAN-CVE-2021-4011

xorg-server

Fixed versions: 2:1.20.13-3

xorg-server

Fixed versions: 2:1.20.13-3

xorg-server

Fixed versions: 2:1.20.13-3

xwayland

Fixed versions: 2:21.1.4-1

xwayland

Fixed versions: 2:21.1.4-1

xwayland

Fixed versions: 2:21.1.4-1

Complete source record
{
  "id": "839946bb2fe48976f8ab909c10004a157ae5acb250d9a57dc680344b26850b38",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-4011",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-4011",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-4011",
    "products": [
      {
        "name": {
          "value": "xorg-server",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:1.20.13-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xorg-server",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:1.20.13-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xorg-server",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:1.20.13-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xwayland",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:21.1.4-1",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xwayland",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:21.1.4-1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xwayland",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:21.1.4-1",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2021-4011",
      "aliases": [
        "DEBIAN-CVE-2021-4011"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:1.20.13-3"
                }
              ]
            }
          ],
          "package": {
            "name": "xorg-server",
            "purl": "pkg:deb/debian/xorg-server?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4011.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:1.20.13-3"
                }
              ]
            }
          ],
          "package": {
            "name": "xorg-server",
            "purl": "pkg:deb/debian/xorg-server?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4011.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:1.20.13-3"
                }
              ]
            }
          ],
          "package": {
            "name": "xorg-server",
            "purl": "pkg:deb/debian/xorg-server?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4011.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:21.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xwayland",
            "purl": "pkg:deb/debian/xwayland?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4011.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:21.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xwayland",
            "purl": "pkg:deb/debian/xwayland?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4011.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:21.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xwayland",
            "purl": "pkg:deb/debian/xwayland?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4011.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:32.855844722Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-4011"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-4011"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-4011",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421871,
  "published_at": "2021-12-17T17:15:13.53+00:00"
}