CVE-2026-52956CWE-125

CVE-2026-52956

High · published June 24, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
49.6
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 __ceph_x_decrypt()

In __ceph_x_decrypt(), a part of the buffer p is interpreted as a

ceph_x_encrypt_header, and the magic field of this struct is accessed.

This happens without any guarantee that the buffer is large enough to

hold this struct. The function parameter ciphertext_len represents the

length of the ciphertext to decrypt and is guaranteed to be at most the

remaining size of the allocated buffer p. However, this value is not

necessarily greater than sizeof(ceph_x_encrypt_header). E.g., a message

frame of type FRAME_TAG_AUTH_REPLY_MORE, that is just as long to hold

the ciphertext at its end with a ciphertext_len of 8 or less, can

trigger an out-of-bounds memory access when accessing hdr->magic.

This patch fixes the issue by adding a check to ensure that the

decrypted plaintext in the buffer is large enough to represent at least

the ceph_x_encrypt_header.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00630 · 49.6th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-06-24T21:17Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 4.9.6, < 4.104.10
linux/linux_kernel≥ 4.10, < 7.0.107.0.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 24 JUN 16:28Z
    libceph: Fix potential out-of-bounds access in __ceph_x_decrypt()
    cvelistv5