CVE-2024-21885 affecting package wayland 1.22.0-1
A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments.
- Products
- wayland
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-21885
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:32 UTC · Revision 1
Source evidence
CVE-2024-21885 affecting package wayland 1.22.0-1
core-osv · Original sourcePublished 28 Feb 2024, 13:15 UTC
A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments.
osv:AZL-110537
wayland
Fixed versions: Not specified
Complete source record
{
"id": "252c10aadf0916c664662d9fc51e2347bfe28aab09cb2ffa3cb62f59baa11df0",
"url": "https://osv.dev/vulnerability/AZL-110537",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-21885 affecting package wayland 1.22.0-1",
"summary": "A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments.",
"evidence": "osv:AZL-110537",
"products": [
{
"name": {
"value": "wayland",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "AZL-110537",
"aliases": [
"AZL-110537"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.22.0-1"
}
]
}
],
"package": {
"name": "wayland",
"purl": "pkg:rpm/azure-linux/wayland",
"ecosystem": "Azure Linux:3"
},
"database_specific": {
"source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-110537.json"
}
}
],
"modified": "2026-10-27T05:36:16Z",
"provider": "osv",
"upstream": [
"CVE-2024-21885"
],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2024-21885"
]
},
"related_cves": [
{
"value": "CVE-2024-21885",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 460641,
"published_at": "2024-02-28T13:15:08+00:00"
}