{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52958","id":"CVE-2026-52958","title":"libceph: Fix potential out-of-bounds access in osdmap_decode()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in osdmap_decode()\n\nWhen decoding osd_state and osd_weight from an incoming osdmap in\nosdmap_decode(), both are decoded for each osd, i.e., map->max_osd\ntimes. The ceph_decode_need() check only accounts for\nsizeof(*map->osd_weight) once. This can potentially result in an\nout-of-bounds m","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in osdmap_decode()\n\nWhen decoding osd_state and osd_weight from an incoming osdmap in\nosdmap_decode(), both are decoded for each osd, i.e., map->max_osd\ntimes. The ceph_decode_need() check only accounts for\nsizeof(*map->osd_weight) once. This can potentially result in an\nout-of-bounds memory access if the incoming message is corrupted such\nthat the max_osd value exceeds the actual content of the osdmap message.\n\nThis patch fixes the issue by changing the corresponding part in the\nceph_decode_need() check to account for\nmap->max_osd*sizeof(*map->osd_weight).","published":"2026-06-24T16:28:39.723Z","updated":"2026-10-28T02:31:03.126010571Z","reserved":"2026-06-09T07:44:35.373Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"36a79759a288961b1ff28a68ec2d1f56f6848098","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"3f2575bb7f955d42569d96c3e04fa958a0dcf4b4","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"8713bbc4b2b9ad78f803978e54b7e49dd21bd9be","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"0d2dd7e6bb74fd7712aa73457a4a821906c6863a","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"e7187f33c02488697ec0d01d82bf7a3f8deaba8f","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"48df98d12b15360cd56af5c1f460307b340c1197","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"ee933694645dac062d65fc2743f92bc06fa0db6b","status":"affected","versionType":"git"},{"version":"dcbc919a5dc8c2629684a113a90c0b6fe10c3462","lessThan":"35d0ed82d03e5ee77ea4f31f20e29562a7721649","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.3","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.141","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.91","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.33","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.10","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/36a79759a288961b1ff28a68ec2d1f56f6848098","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3f2575bb7f955d42569d96c3e04fa958a0dcf4b4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8713bbc4b2b9ad78f803978e54b7e49dd21bd9be","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d2dd7e6bb74fd7712aa73457a4a821906c6863a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e7187f33c02488697ec0d01d82bf7a3f8deaba8f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/48df98d12b15360cd56af5c1f460307b340c1197","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ee933694645dac062d65fc2743f92bc06fa0db6b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/35d0ed82d03e5ee77ea4f31f20e29562a7721649","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52958.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52958","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00735,"epssPercentile":0.55219,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52958","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52958","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52958","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52958","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}