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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49179.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:24.1.5-4.el10_0"
},
{
"fixed": "0:1.1.0-25.el6_10.1"
},
{
"fixed": "0:1.8.0-17.el7_7.1"
},
{
"fixed": "0:1.20.4-32.el7_9"
},
{
"fixed": "0:1.8.0-36.el7_9.2"
},
{
"fixed": "0:1.20.11-26.el8_10"
},
{
"fixed": "0:21.1.3-18.el8_10"
},
{
"fixed": "0:1.15.0-7.el8_10"
},
{
"fixed": "0:1.9.0-15.el8_2.14"
},
{
"fixed": "0:1.20.6-4.el8_2"
},
{
"fixed": "0:1.20.10-2.el8_4"
},
{
"fixed": "0:1.11.0-8.el8_4.13"
},
{
"fixed": "0:1.20.10-2.el8_4"
},
{
"fixed": "0:1.11.0-8.el8_4.13"
},
{
"fixed": "0:1.12.0-6.el8_6.14"
},
{
"fixed": "0:21.1.3-2.el8_6.4"
},
{
"fixed": "0:1.20.11-5.el8_6.3"
},
{
"fixed": "0:1.12.0-6.el8_6.14"
},
{
"fixed": "0:21.1.3-2.el8_6.4"
},
{
"fixed": "0:1.12.0-6.el8_6.14"
},
{
"fixed": "0:21.1.3-2.el8_6.4"
},
{
"fixed": "0:1.20.11-5.el8_6.3"
},
{
"fixed": "0:1.12.0-6.el8_6.14"
},
{
"fixed": "0:21.1.3-2.el8_6.4"
},
{
"fixed": "0:1.20.11-5.el8_6.3"
},
{
"fixed": "0:1.20.11-16.el8_8"
},
{
"fixed": "0:21.1.3-11.el8_8"
},
{
"fixed": "0:1.20.11-16.el8_8"
},
{
"fixed": "0:1.12.0-15.el8_8.14"
},
{
"fixed": "0:21.1.3-11.el8_8"
},
{
"fixed": "0:1.20.11-16.el8_8"
},
{
"fixed": "0:1.12.0-15.el8_8.14"
},
{
"fixed": "0:21.1.3-11.el8_8"
},
{
"fixed": "0:1.20.11-31.el9_6"
},
{
"fixed": "0:23.2.7-4.el9_6"
},
{
"fixed": "0:1.14.1-8.el9_6"
},
{
"fixed": "0:21.1.3-3.el9_0"
},
{
"fixed": "0:1.20.11-11.el9_0"
},
{
"fixed": "0:1.11.0-22.el9_0.15"
},
{
"fixed": "0:21.1.3-8.el9_2"
},
{
"fixed": "0:1.20.11-18.el9_2"
},
{
"fixed": "0:1.12.0-14.el9_2.12"
},
{
"fixed": "0:22.1.9-6.el9_4"
},
{
"fixed": "0:1.20.11-26.el9_4"
},
{
"fixed": "0:1.13.1-8.el9_4.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "24.1.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-49179.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "35429779111508917089261096360431231834",
"length": 2806
},
"id": "CVE-2025-49179-2c77d1bf",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4",
"target": {
"file": "record/record.c",
"function": "RecordSanityCheckRegisterClients"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"104987605262718670022917686784538238103",
"184344881557572179946915879783588780905",
"326927314699552453259398813563096194985",
"309628026614010209616131148440879168138",
"304537392174909274319629631863744880991",
"133676671683065702565317655055642118679",
"315946613282703901751337478353429494857"
],
"threshold": 0.9
},
"id": "CVE-2025-49179-7efa0a5b",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4",
"target": {
"file": "record/record.c"
}
}
]
"2026-10-16T09:30:32Z"