{
  "id": "CVE-2026-3298",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-3298",
  "published_at": "2026-04-21T14:45:01.919Z",
  "title": "Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes",
  "vendor": "Python Software Foundation",
  "product": "CPython",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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 method \"sock_recvfrom_into()\" of \"asyncio.ProacterEventLoop\" (Windows only) was missing a boundary check for the data buffer when using nbytes parameter. This allowed for an out-of-bounds buffer write if data was larger than the buffer size. Non-Windows platforms are not affected.",
  "cwe": "CWE-787",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Python Software Foundation",
        "product": "CPython",
        "ranges": [
          "\u003c 3.11.16",
          "\u003e= 3.12.0, \u003c 3.12.14",
          "\u003e= 3.13.0, \u003c 3.13.14",
          "\u003e= 3.14.0a1, \u003c 3.14.5rc1",
          "\u003e= 3.15.0a1, \u003c 3.15.0b1"
        ],
        "fixed_in": [
          "3.11.16",
          "3.12.14",
          "3.13.14",
          "3.14.5rc1",
          "3.15.0b1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CPython to 3.11.16 or 3.12.14 or 3.13.14 or 3.14.5rc1 or 3.15.0b1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/pull/148809"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
