{
  "id": "CVE-2026-22262",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22262",
  "published_at": "2026-01-27T18:18:52.922Z",
  "title": "Suricata datasets: stack overflow when saving a set",
  "vendor": "OISF",
  "product": "suricata",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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": "Suricata is a network IDS, IPS and NSM engine. While saving a dataset a stack buffer is used to prepare the data. Prior to versions 8.0.3 and 7.0.14, if the data in the dataset is too large, this can result in a stack overflow. Versions 8.0.3 and 7.0.14 contain a patch. As a workaround, do not use rules with datasets `save` nor `state` options.",
  "cwe": "CWE-121",
  "cpes": [
    "cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.9,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OISF",
        "product": "suricata",
        "ranges": [
          "\u003c 7.0.14",
          "\u003e= 8.0.0, \u003c 8.0.3"
        ],
        "fixed_in": [
          "7.0.14",
          "8.0.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade suricata to 7.0.14 or 8.0.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbf"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
