xorg-server, xwayland — security advisory
A vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.
- Products
- xorg-server, xwayland
- Affected versions
- Not specified
- Fixed versions
- 2:21.1.7-1, 2:22.1.8-1
- CVEs
- CVE-2023-0494
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:37 UTC · Revision 1
Source evidence
A vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.
osv:DEBIAN-CVE-2023-0494
xorg-server
Fixed versions: 2:21.1.7-1
xorg-server
Fixed versions: 2:21.1.7-1
xorg-server
Fixed versions: 2:21.1.7-1
xwayland
Fixed versions: 2:22.1.8-1
xwayland
Fixed versions: 2:22.1.8-1
xwayland
Fixed versions: 2:22.1.8-1
Complete source record
{
"id": "e0d118cce6d348e618c4828df7f162a12693b989eaea1f754c33c2c076f13437",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-0494",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-0494",
"summary": "A vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.",
"evidence": "osv:DEBIAN-CVE-2023-0494",
"products": [
{
"name": {
"value": "xorg-server",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:21.1.7-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "xorg-server",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:21.1.7-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "xorg-server",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:21.1.7-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "xwayland",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:22.1.8-1",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "xwayland",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:22.1.8-1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "xwayland",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:22.1.8-1",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2023-0494",
"aliases": [
"DEBIAN-CVE-2023-0494"
],
"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:21.1.7-1"
}
]
}
],
"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-2023-0494.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:21.1.7-1"
}
]
}
],
"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-2023-0494.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:21.1.7-1"
}
]
}
],
"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-2023-0494.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:22.1.8-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-2023-0494.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:22.1.8-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-2023-0494.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:22.1.8-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-2023-0494.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:01:14.023187471Z",
"provider": "osv",
"upstream": [
"CVE-2023-0494"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-0494"
]
},
"related_cves": [
{
"value": "CVE-2023-0494",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 455395,
"published_at": "2023-03-27T21:15:10.193+00:00"
}