{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52956","id":"CVE-2026-52956","title":"libceph: Fix potential out-of-bounds access in __ceph_x_decrypt()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in __ceph_x_decrypt()\n\nIn __ceph_x_decrypt(), a part of the buffer p is interpreted as a\nceph_x_encrypt_header, and the magic field of this struct is accessed.\nThis happens without any guarantee that the buffer is large enough to\nhold this struct. The function parameter ciphertext_len r","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in __ceph_x_decrypt()\n\nIn __ceph_x_decrypt(), a part of the buffer p is interpreted as a\nceph_x_encrypt_header, and the magic field of this struct is accessed.\nThis happens without any guarantee that the buffer is large enough to\nhold this struct. The function parameter ciphertext_len represents the\nlength of the ciphertext to decrypt and is guaranteed to be at most the\nremaining size of the allocated buffer p. However, this value is not\nnecessarily greater than sizeof(ceph_x_encrypt_header). E.g., a message\nframe of type FRAME_TAG_AUTH_REPLY_MORE, that is just as long to hold\nthe ciphertext at its end with a ciphertext_len of 8 or less, can\ntrigger an out-of-bounds memory access when accessing hdr->magic.\n\nThis patch fixes the issue by adding a check to ensure that the\ndecrypted plaintext in the buffer is large enough to represent at least\nthe ceph_x_encrypt_header.","published":"2026-06-24T16:28:38.414Z","updated":"2026-11-17T07:03:27.692874722Z","reserved":"2026-06-09T07:44:35.373Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e15fd0a11db00fc7f470a9fc804657ec3f6d04a5","lessThan":"c417b7d2d1c7fdc25af24490201320e36a3cc21d","status":"affected","versionType":"git"},{"version":"e15fd0a11db00fc7f470a9fc804657ec3f6d04a5","lessThan":"759053333a40c6997c2917dcd6160bfe40d2b42e","status":"affected","versionType":"git"},{"version":"e15fd0a11db00fc7f470a9fc804657ec3f6d04a5","lessThan":"ebc7eddf6225b87e3aae720875f9dd40cb6b1cef","status":"affected","versionType":"git"},{"version":"e15fd0a11db00fc7f470a9fc804657ec3f6d04a5","lessThan":"5df268406ef38d0f92547959296577c7077dacdc","status":"affected","versionType":"git"},{"version":"e15fd0a11db00fc7f470a9fc804657ec3f6d04a5","lessThan":"c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2","status":"affected","versionType":"git"},{"version":"e15fd0a11db00fc7f470a9fc804657ec3f6d04a5","lessThan":"821365487aa58d06bda65c676ba215d506ba9768","status":"affected","versionType":"git"},{"version":"2982b9c92a66604ffb9fb2db54cf735133d1ef56","status":"affected","versionType":"git"},{"version":"4.9.6","lessThan":"4.10","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","lessThan":"4.10","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.10","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c417b7d2d1c7fdc25af24490201320e36a3cc21d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/759053333a40c6997c2917dcd6160bfe40d2b42e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ebc7eddf6225b87e3aae720875f9dd40cb6b1cef","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5df268406ef38d0f92547959296577c7077dacdc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c7e9b53aebe401970f1b5f5a01b4e021b18e8bb2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/821365487aa58d06bda65c676ba215d506ba9768","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52956.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52956","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00611,"epssPercentile":0.50185,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52956","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52956","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52956","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52956","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}