{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73"
            },
            {
              "fixed": "e7b5766693477c52424cc6c79dd30a7a9c7db52c"
            },
            {
              "fixed": "78bba9f73942aa7dca47d817d8cec0fb9b443b70"
            },
            {
              "fixed": "be88a337bf07afb1ee173f1099294d1b7ab3fefe"
            },
            {
              "fixed": "c5e918390002edf0cff80a0e7ce1f86f16a9507c"
            },
            {
              "fixed": "9174d28f3f15d8c4962f5980c0be167633880443"
            },
            {
              "fixed": "67c53c1978cef3c504237275e39c857e2f6af56e"
            },
            {
              "fixed": "0fbae1e74493d5a160a70c51aeba035d8266ea7d"
            },
            {
              "fixed": "f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.27"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.136"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.83"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.24"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31407.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: conntrack: add missing netlink policy validations\n\nHyunwoo Kim reports out-of-bounds access in sctp and ctnetlink.\n\nThese attributes are used by the kernel without any validation.\nExtend the netlink policies accordingly.\n\nQuoting the reporter:\n  nlattr_to_sctp() assigns the user-supplied CTA_PROTOINFO_SCTP_STATE\n  value directly to ct-\u003eproto.sctp.state without checking that it is\n  within the valid range. [..]\n\n  and: ... with exp-\u003edir = 100, the access at\n  ct-\u003emaster-\u003etuplehash[100] reads 5600 bytes past the start of a\n  320-byte nf_conn object, causing a slab-out-of-bounds read confirmed by\n  UBSAN.",
  "id": "CVE-2026-31407",
  "modified": "2026-07-08T05:36:48.360617824Z",
  "published": "2026-04-06T07:38:19.712Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0fbae1e74493d5a160a70c51aeba035d8266ea7d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67c53c1978cef3c504237275e39c857e2f6af56e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/78bba9f73942aa7dca47d817d8cec0fb9b443b70"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9174d28f3f15d8c4962f5980c0be167633880443"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/be88a337bf07afb1ee173f1099294d1b7ab3fefe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c5e918390002edf0cff80a0e7ce1f86f16a9507c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e7b5766693477c52424cc6c79dd30a7a9c7db52c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31407.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31407"
    },
    {
      "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:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "netfilter: conntrack: add missing netlink policy validations"
}