{
  "id": "CVE-2026-52958",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52958",
  "published_at": "2026-06-24T16:28:39.723Z",
  "title": "libceph: Fix potential out-of-bounds access in osdmap_decode()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in osdmap_decode()\n\nWhen decoding osd_state and osd_weight from an incoming osdmap in\nosdmap_decode(), both are decoded for each osd, i.e., map-\u003emax_osd\ntimes. The ceph_decode_need() check only accounts for\nsizeof(*map-\u003eosd_weight) once. This can potentially result in an\nout-of-bounds memory access if the incoming message is corrupted such\nthat the max_osd value exceeds the actual content of the osdmap message.\n\nThis patch fixes the issue by changing the corresponding part in the\nceph_decode_need() check to account for\nmap-\u003emax_osd*sizeof(*map-\u003eosd_weight).",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c 36a79759a288961b1ff28a68ec2d1f56f6848098",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c 3f2575bb7f955d42569d96c3e04fa958a0dcf4b4",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c 8713bbc4b2b9ad78f803978e54b7e49dd21bd9be",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c 0d2dd7e6bb74fd7712aa73457a4a821906c6863a",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c e7187f33c02488697ec0d01d82bf7a3f8deaba8f",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c 48df98d12b15360cd56af5c1f460307b340c1197",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c ee933694645dac062d65fc2743f92bc06fa0db6b",
          "\u003e= dcbc919a5dc8c2629684a113a90c0b6fe10c3462, \u003c 35d0ed82d03e5ee77ea4f31f20e29562a7721649"
        ],
        "fixed_in": [
          "36a79759a288961b1ff28a68ec2d1f56f6848098",
          "3f2575bb7f955d42569d96c3e04fa958a0dcf4b4",
          "8713bbc4b2b9ad78f803978e54b7e49dd21bd9be",
          "0d2dd7e6bb74fd7712aa73457a4a821906c6863a",
          "e7187f33c02488697ec0d01d82bf7a3f8deaba8f",
          "48df98d12b15360cd56af5c1f460307b340c1197",
          "ee933694645dac062d65fc2743f92bc06fa0db6b",
          "35d0ed82d03e5ee77ea4f31f20e29562a7721649"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.3"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.141",
          "6.12.91",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 36a79759a288961b1ff28a68ec2d1f56f6848098 or 3f2575bb7f955d42569d96c3e04fa958a0dcf4b4 or 8713bbc4b2b9ad78f803978e54b7e49dd21bd9be or 0d2dd7e6bb74fd7712aa73457a4a821906c6863a or e7187f33c02488697ec0d01d82bf7a3f8deaba8f or 48df98d12b15360cd56af5c1f460307b340c1197 or ee933694645dac062d65fc2743f92bc06fa0db6b or 35d0ed82d03e5ee77ea4f31f20e29562a7721649 or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
