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

Published Jun 24, 2026
·
Updated

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

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

When decoding osdstate and osdweight from an incoming osdmap in osdmapdecode(), both are decoded for each osd, i.e., map->maxosd times. The cephdecodeneed() check only accounts for sizeof(map->osdweight) once. This can potentially result in an out-of-bounds memory access if the incoming message is corrupted such that the maxosd value exceeds the actual content of the osdmap message.

This patch fixes the issue by changing the corresponding part in the cephdecodeneed() check to account for map->maxosdsizeof(map->osdweight).

Affected Software

12 affected componentsFixes available
Linux libceph (Linux kernel)
Microsoft azl3 kernel 6.6.139.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=5.3<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.141
Linux Linux kernel>=6.7<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

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

Event History

Jun 24, 2026
CVE Published
via MITRE·04:28 PM
Data Sourced
via MITRE·04:28 PM
DescriptionSeverity
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:16 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:16 AM
Affected Software
Updated
via Microsoft·08:16 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-52958?

CVE-2026-52958 has a risk rating of 37.

2

How do I fix CVE-2026-52958?

To fix CVE-2026-52958, ensure that your system is updated with the latest patches provided for the Linux kernel.

3

What software is affected by CVE-2026-52958?

CVE-2026-52958 affects the Linux libceph component of the Linux kernel.

4

What type of vulnerability is CVE-2026-52958?

CVE-2026-52958 is a vulnerability related to potential out-of-bounds access in the osdmap_decode() function.

5

When was CVE-2026-52958 published?

CVE-2026-52958 was published on June 24, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203