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.
{ "vanir_signatures": [ { "source": "https://gitlab.freedesktop.org/xorg/xserver@0ba6d8c37071131a49790243cdac55392ecf71ec", "signature_version": "v1", "signature_type": "Line", "deprecated": false, "target": { "file": "Xi/exevents.c" }, "digest": { "line_hashes": [ "74106098508242225049021527155819159703", "95056552086437722391515703312333258183", "263086816622054653013670691820743023688", "187621220841141749469078690120853429229", "48794798834028557475176690849393643529" ], "threshold": 0.9 }, "id": "CVE-2023-0494-3a331a16" }, { "source": "https://gitlab.freedesktop.org/xorg/xserver@0ba6d8c37071131a49790243cdac55392ecf71ec", "signature_version": "v1", "signature_type": "Function", "deprecated": false, "target": { "file": "Xi/exevents.c", "function": "DeepCopyPointerClasses" }, "digest": { "function_hash": "139982773311384739155271790805276520930", "length": 4327.0 }, "id": "CVE-2023-0494-7e05971b" } ] }