CVE-2026-52958CWE-125

CVE-2026-52958

Critical · published June 24, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
53.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

libceph: Fix potential out-of-bounds access in osdmap_decode()

When decoding osd_state and osd_weight from an incoming osdmap in

osdmap_decode(), both are decoded for each osd, i.e., map->max_osd

times. The ceph_decode_need() check only accounts for

sizeof(*map->osd_weight) once. This can potentially result in an

out-of-bounds memory access if the incoming message is corrupted such

that the max_osd value exceeds the actual content of the osdmap message.

This patch fixes the issue by changing the corresponding part in the

ceph_decode_need() check to account for

map->max_osd*sizeof(*map->osd_weight).

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00735 · 53.9th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-06-24T21:17Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 5.3, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1416.6.141
linux/linux_kernel≥ 6.7, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 24 JUN 16:28Z
    libceph: Fix potential out-of-bounds access in osdmap_decode()
    cvelistv5