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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-24 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-52956, DEBIAN-CVE-2026-52956, CGA-23gm-wx9g-xrg8, CGA-35j9-prpx-rmmm, CGA-3955-mj42-37wh, CGA-3j3g-mpmw-x453, CGA-43c9-9pr3-gggr, CGA-448f-c236-77qj, CGA-49mp-qggv-pr3j, CGA-4fc8-m27q-h97r, CGA-4qw4-gx5v-mhx5, CGA-53pg-xwr5-cw7j, CGA-568f-c55w-2mjm, CGA-59vr-fp43-mwpm, CGA-5qph-m6w4-899p, CGA-5rf2-8p6x-7r48, CGA-5rm5-37xg-rg5p, CGA-64cm-f637-62hr, CGA-6627-h8vm-3g6v, CGA-6p3q-63wm-rw44, CGA-6wjc-q52p-xrf3, CGA-7758-h8xx-rpv5, CGA-78m6-h29c-q8gr, CGA-7944-p5mm-ch8f, CGA-7cgr-w6gg-rvfc, CGA-7ch7-3fv7-fw8w, CGA-7vxj-r56f-93rp, CGA-7w9v-xqv3-2qg3, CGA-7wvc-34vx-6839, CGA-86v2-3x88-2vvm, CGA-8w8p-cjhv-7mx4, CGA-92j7-99mp-hw2q, CGA-9422-6hxw-9p2g, CGA-95w2-jf84-qh22, CGA-9f8g-7xpp-3hrc, CGA-9gfg-jwhv-rw9m, CGA-9qwq-h828-633w, CGA-9rfw-qf3x-qq7x, CGA-c39r-68fm-wgjq, CGA-c58v-2c22-c22m, CGA-c5cf-4455-p4v2, CGA-c5w3-r6qx-j8v5, CGA-c869-r787-r7rp, CGA-cc95-vm74-xw8p, CGA-cw2v-572f-xgqp, CGA-f347-9g2v-frj2, CGA-f4hg-jj5h-j646, CGA-f9f7-cvpg-7pgj, CGA-f9mr-pjwr-c8m8, CGA-fc77-fvpg-99qx, CGA-fhg3-5vrr-32ww, CGA-fq8w-pgrp-hcfg, CGA-fwqg-8jxg-qgpv, CGA-g27g-74f5-q3fj, CGA-g6mc-4g43-h33g, CGA-g6x8-wx2m-qhgx, CGA-gh2v-5w8h-44mf, CGA-ghxh-gxp9-2q2h, CGA-h456-cfmp-hj7p, CGA-h82h-jg6w-fx9g, CGA-h9pw-2f33-436v, CGA-hfc9-9v8w-r936, CGA-j295-q3g8-xf7m, CGA-j2mh-4qqw-cw9q, CGA-j7cm-8xhm-8wgc, CGA-j9q4-mqpq-gxq6, CGA-jfh7-73fx-v38j, CGA-m3c8-gpm6-4793, CGA-m6fr-p2rw-r3fv, CGA-mx4x-gqgr-428v, CGA-ppgh-ffvv-h65c, CGA-pqf9-cw9j-r565, CGA-vhjm-95x8-6jp6, CGA-vm5p-q88q-q3j8, CGA-pxpc-jc9r-jr44, CGA-q7w3-4x82-g84v, CGA-qxmv-6cf3-v4wj, CGA-rch8-34p2-64m8, CGA-rh74-fjq3-f755, CGA-v4pm-9wx2-24gr, CGA-v5q3-qf3c-q2q4, CGA-v5xm-wrm6-xx7h, CGA-vccv-4646-hr3w, CGA-vfph-3rph-wfgf, CGA-vgqf-h3rj-7pcv, CGA-vj82-4qgc-g8xh, CGA-vjjx-vqxq-5x8c, CGA-vpx2-5hpg-wgf3, CGA-vv9m-jqv2-463q, CGA-w9rr-2f64-593v, CGA-wmxv-mvw7-xcg5, CGA-x2x6-xrj7-m7q3, CGA-x8wf-6mq5-r339, CGA-x9wx-rwp4-88fx, CGA-xhjq-228w-54j7, CGA-xvfw-7r7x-65hr, CGA-qcpq-2fpp-48hx, CGA-r5vq-xf9r-4rjg, CGA-4f74-4776-vr34, CGA-5x9f-3frh-r5x7, CGA-c33f-2gjc-mm2x, CGA-c33j-x4pr-x7j4, CGA-r3vc-p87j-q64v, CGA-r432-3g85-hwhh, CGA-xmv2-f6j2-33xq, CGA-267h-j5q7-33j9, CGA-qp64-f5wr-jrxg, CGA-72w8-r787-p2cx
- Record: https://cvemate.com/vulnerability/CVE-2026-52956 · JSON: https://cvemate.com/vulnerability/CVE-2026-52956/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.611%, percentile 50.705%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 222)

- chainguard hyperv-daemons-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-boot-installed (Chainguard): All versions (No fix recorded) \| \< 6.18.57-r0
- chainguard linux-aws-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded) \| \< 6.18.57-r0
- chainguard linux-aws-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-modules (Chainguard): All versions (No fix recorded) \| \< 6.18.57-r0
- chainguard linux-aws-6.18-nestkvm-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)

## References (first 20 of 34)

- <https://git.kernel.org/stable/c/c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2>
- <https://git.kernel.org/stable/c/821365487aa58d06bda65c676ba215d506ba9768>
- <https://ubuntu.com/security/CVE-2026-52956>
- <https://www.cve.org/CVERecord?id=CVE-2026-52956>
- <https://git.kernel.org/linus/821365487aa58d06bda65c676ba215d506ba9768>
- <https://ubuntu.com/security/notices/USN-8566-1>
- <https://ubuntu.com/security/notices/USN-8568-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://security-tracker.debian.org/tracker/CVE-2026-52956>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52956.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52956>

---

Data as of 2026-12-06T09:19:37.372Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
