A flaw was found in the X Record extension. The RecordSanityCheckRegisterClients function does not check for an integer overflow when computing request length, which allows a client to bypass length checks.
[
{
"digest": {
"function_hash": "35429779111508917089261096360431231834",
"length": 2806.0
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2025-49179-2c77d1bf",
"target": {
"file": "record/record.c",
"function": "RecordSanityCheckRegisterClients"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4"
},
{
"digest": {
"line_hashes": [
"104987605262718670022917686784538238103",
"184344881557572179946915879783588780905",
"326927314699552453259398813563096194985",
"309628026614010209616131148440879168138",
"304537392174909274319629631863744880991",
"133676671683065702565317655055642118679",
"315946613282703901751337478353429494857"
],
"threshold": 0.9
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2025-49179-7efa0a5b",
"target": {
"file": "record/record.c"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4"
}
]