{
  "id": "CVE-2026-81722",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-81722",
  "published_at": "2026-08-27T14:51:15.857Z",
  "title": "nltk PorterStemmer before 3.10.3 Quadratic-time DoS",
  "vendor": "nltk",
  "product": "nltk",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "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": "nltk PorterStemmer in versions \u003c= 3.10.2 (fixed in 3.10.3) contains an inefficient-algorithmic-complexity denial of service in PorterStemmer.stem(). The _is_consonant() helper walks backward over the entire run of trailing 'y' characters on every call, and _measure() invokes it for each stem position, causing O(n^2) behavior. A single ~20-50 KB untrusted token consisting of a long run of the letter 'y' followed by a matching suffix (e.g., 'ness') can pin a CPU core for seconds to minutes, causing availability impact.",
  "cwe": "CWE-407",
  "cpes": [
    "cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nltk",
        "product": "nltk",
        "ranges": [
          "\u003c 3.10.3"
        ],
        "fixed_in": [
          "3.10.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nltk to 3.10.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nltk/nltk/security/advisories/GHSA-ww6m-cw3f-q94g"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
