# CVE-2026-52956: libceph: Fix potential out-of-bounds access in \_\_ceph\_x\_decrypt()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-06-24T16:28:38.414Z
- **Modified:** 2026-10-30T13:19:04.767Z

## Who should check

- Anyone running Linux \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< c417b7d2d1c7fdc25af24490201320e36a3cc21d; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 759053333a40c6997c2917dcd6160bfe40d2b42e; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< ebc7eddf6225b87e3aae720875f9dd40cb6b1cef; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 5df268406ef38d0f92547959296577c7077dacdc; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 821365487aa58d06bda65c676ba215d506ba9768; 2982b9c92a66604ffb9fb2db54cf735133d1ef56; \>= 4.9.6, \< 4.10
- Anyone running Linux 4.10

## Description

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.

## Affected and fixed versions

- Linux: \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< c417b7d2d1c7fdc25af24490201320e36a3cc21d; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 759053333a40c6997c2917dcd6160bfe40d2b42e; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< ebc7eddf6225b87e3aae720875f9dd40cb6b1cef; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 5df268406ef38d0f92547959296577c7077dacdc; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 821365487aa58d06bda65c676ba215d506ba9768; 2982b9c92a66604ffb9fb2db54cf735133d1ef56; \>= 4.9.6, \< 4.10 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 4.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52956. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52956.md
Affected: Linux >= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, < c417b7d2d1c7fdc25af24490201320e36a3cc21d; >= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, < 759053333a40c6997c2917dcd6160bfe40d2b42e; >= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, < ebc7eddf6225b87e3aae720875f9dd40cb6b1cef; >= e15fd0a11db00fc7f470a9f…
Fixed in: Linux 759053333a40c6997c2917dcd6160bfe40d2b42e, Linux 5df268406ef38d0f92547959296577c7077dacdc, Linux 821365487aa58d06bda65c676ba215d506ba9768, Linux 4.10

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52956 being exploited?

There is no confirmed exploitation: CVE-2026-52956 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-52956?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-52956?

Linux \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< c417b7d2d1c7fdc25af24490201320e36a3cc21d; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 759053333a40c6997c2917dcd6160bfe40d2b42e; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< ebc7eddf6225b87e3aae720875f9dd40cb6b1cef; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 5df268406ef38d0f92547959296577c7077dacdc; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2; \>= e15fd0a11db00fc7f470a9fc804657ec3f6d04a5, \< 821365487aa58d06bda65c676ba215d506ba9768; 2982b9c92a66604ffb9fb2db54cf735133d1ef56; \>= 4.9.6, \< 4.10; Linux 4.10.

### Is there a fix for CVE-2026-52956?

Yes. Fixed in Linux 759053333a40c6997c2917dcd6160bfe40d2b42e, Linux 5df268406ef38d0f92547959296577c7077dacdc, Linux 821365487aa58d06bda65c676ba215d506ba9768, Linux 4.10. Upgrade Linux to 4.10 or later.

### How do I check if I'm affected by CVE-2026-52956?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2>
- patch: <https://git.kernel.org/stable/c/821365487aa58d06bda65c676ba215d506ba9768>
- other: <https://git.kernel.org/stable/c/c417b7d2d1c7fdc25af24490201320e36a3cc21d>
- other: <https://git.kernel.org/stable/c/759053333a40c6997c2917dcd6160bfe40d2b42e>
- other: <https://git.kernel.org/stable/c/ebc7eddf6225b87e3aae720875f9dd40cb6b1cef>
- other: <https://git.kernel.org/stable/c/5df268406ef38d0f92547959296577c7077dacdc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52956>

HTML: <https://flawdb.com/CVE-2026-52956> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52956>
