{
  "id": "CVE-2026-15308",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-15308",
  "published_at": "2026-07-09T17:10:57.317Z",
  "title": "Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations",
  "vendor": "Python Software Foundation",
  "product": "CPython",
  "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": "The incremental HTML parser (html.parser.HTMLParser) allows for CPU\ndenial-of-service through repeated unterminated markup declarations when\nprocessing uncontrolled data.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Python Software Foundation",
        "product": "CPython",
        "ranges": [
          "\u003c 3.10.21",
          "\u003e= 3.11.0, \u003c 3.11.16",
          "\u003e= 3.12.0, \u003c 3.12.14",
          "\u003e= 3.13.0, \u003c 3.13.15",
          "\u003e= 3.14.0, \u003c 3.14.7",
          "\u003e= 3.15.0a1, \u003c 3.15.0b4"
        ],
        "fixed_in": [
          "3.10.21",
          "3.11.16",
          "3.12.14",
          "3.13.15",
          "3.14.7",
          "3.15.0b4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CPython to 3.10.21 or 3.11.16 or 3.12.14 or 3.13.15 or 3.14.7 or 3.15.0b4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F6453LWKSHKCTWFLCOURWPLETNUIW2Z5/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/pull/153031"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/07efb08123ba9367a7107325adb9d5626dca1ca9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/7933f4bf7131aa4140750f9404f5de0aa2969ced"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/e9f92ac0b298292e7ff998e52cb8ccacfb27a0bd"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/785df8f743800661961528970f8598edcd291c14"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/1e7956f1a722df9aabc509c30f8fbdc3a2b4fdc7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
