CVE-2026-52956libceph: Fix potential out-of-bounds access in __ceph_x_decrypt()
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from e15fd0a11db00fc7f470a9fc804657ec3f6d04a5 before 5df268406ef38d0f92547959296577c7077dacdc; from e15fd0a11db00fc7f470a9fc804657ec3f6d04a5 before c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2; from e15fd0a11db00fc7f470a9fc804657ec3f6d04a5 before 821365487aa58d06bda65c676ba215d506ba9768; 2982b9c92a66604ffb9fb2db54cf735133d1ef56; from 4.9.6 before 4.10 | CNA record |
linux linux_kernel linux:linux_kernel | from 4.9.6 before 4.10; from 4.10 before 7.0.10; 7.1; 7.1; 7.1 | NVD |
References
- https://git.kernel.org/stable/c/5df268406ef38d0f92547959296577c7077dacdc
- https://git.kernel.org/stable/c/c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2patch
- https://git.kernel.org/stable/c/821365487aa58d06bda65c676ba215d506ba9768patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.