{
  "id": "CVE-2026-31430",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31430",
  "published_at": "2026-04-20T09:43:03.919Z",
  "title": "X.509: Fix out-of-bounds access when parsing extensions",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/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\nX.509: Fix out-of-bounds access when parsing extensions\n\nLeo reports an out-of-bounds access when parsing a certificate with\nempty Basic Constraints or Key Usage extension because the first byte of\nthe extension is read before checking its length.  Fix it.\n\nThe bug can be triggered by an unprivileged user by submitting a\nspecially crafted certificate to the kernel through the keyrings(7) API.\nLeo has demonstrated this with a proof-of-concept program responsibly\ndisclosed off-list.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 30eae2b037af54b24109dcaea21db46f6285c69b, \u003c 672b526def1f94c1be8eb11b885b803da0d8c2f1",
          "\u003e= 30eae2b037af54b24109dcaea21db46f6285c69b, \u003c 30ab358fad0c7daa1d282ec48089901b21b36a20",
          "\u003e= 30eae2b037af54b24109dcaea21db46f6285c69b, \u003c 206121294b9cf27f0589857f80d64f87e496ffb2",
          "\u003e= 30eae2b037af54b24109dcaea21db46f6285c69b, \u003c 7fb4dadc2734f4020d7543d688b8d49c8e569c61",
          "\u003e= 30eae2b037af54b24109dcaea21db46f6285c69b, \u003c d702c3408213bb12bd570bb97204d8340d141c51"
        ],
        "fixed_in": [
          "672b526def1f94c1be8eb11b885b803da0d8c2f1",
          "30ab358fad0c7daa1d282ec48089901b21b36a20",
          "206121294b9cf27f0589857f80d64f87e496ffb2",
          "7fb4dadc2734f4020d7543d688b8d49c8e569c61",
          "d702c3408213bb12bd570bb97204d8340d141c51"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.135",
          "6.12.82",
          "6.18.23",
          "6.19.13",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 672b526def1f94c1be8eb11b885b803da0d8c2f1 or 30ab358fad0c7daa1d282ec48089901b21b36a20 or 206121294b9cf27f0589857f80d64f87e496ffb2 or 7fb4dadc2734f4020d7543d688b8d49c8e569c61 or d702c3408213bb12bd570bb97204d8340d141c51 or later.",
      "Upgrade Linux to 0 or 6.6.135 or 6.12.82 or 6.18.23 or 6.19.13 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
