{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "cd1a677cad994021b19665ed476aea63f5d54f31"
            },
            {
              "fixed": "6405e8c680974bb74e2c98d5249fb52c7b12a6c6"
            },
            {
              "fixed": "8d745d38c88ecbed95f6b2b39857bf89f35a3244"
            },
            {
              "fixed": "e1dc45d97975f9db65694d234fbddf1915176e16"
            },
            {
              "fixed": "1b275bd49e58752efb83767a5d1aed41356c5e64"
            },
            {
              "fixed": "c1a0f5f1e5e7e98c36a362ec3d1fcfd9932931ed"
            },
            {
              "fixed": "d82467c07b03a27c3c5469b62bb3b726305a80bb"
            },
            {
              "fixed": "ac431d597a9bdfc2ba6b314813f29a6ef2b4a3bf"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.202"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.165"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.128"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.75"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43304.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: define and enforce CEPH_MAX_KEY_LEN\n\nWhen decoding the key, verify that the key material would fit into\na fixed-size buffer in process_auth_done() and generally has a sane\nlength.\n\nThe new CEPH_MAX_KEY_LEN check replaces the existing check for a key\nwith no key material which is a) not universal since CEPH_CRYPTO_NONE\nhas to be excluded and b) doesn't provide much value since a smaller\nthan needed key is just as invalid as no key -- this has to be handled\nelsewhere anyway.",
  "id": "CVE-2026-43304",
  "modified": "2026-07-08T05:39:31.330108843Z",
  "published": "2026-05-08T13:11:24.264Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1b275bd49e58752efb83767a5d1aed41356c5e64"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6405e8c680974bb74e2c98d5249fb52c7b12a6c6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d745d38c88ecbed95f6b2b39857bf89f35a3244"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ac431d597a9bdfc2ba6b314813f29a6ef2b4a3bf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c1a0f5f1e5e7e98c36a362ec3d1fcfd9932931ed"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d82467c07b03a27c3c5469b62bb3b726305a80bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e1dc45d97975f9db65694d234fbddf1915176e16"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43304.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43304"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libceph: define and enforce CEPH_MAX_KEY_LEN"
}