{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "6.1.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "6.2.0"
                  },
                  {
                    "fixed": "6.2.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "14d6d0b4e91952b959b14dacd1bf58d1ec24426d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "b844636e7675af1791727a0b157dd2130fd4a85f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "9aa3042878c31cc29a6233bcc0a7bbe5d0e93cfc"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v6.1.14",
                "range": [
                  {
                    "fixed": "cacbc065616e2929137bbe6e9bc8a4d4a42fd83b"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v6.2.7",
                "range": [
                  {
                    "fixed": "6ce2d1e97cec8b1f214d61f0308a545866b8437d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cacbc065616e2929137bbe6e9bc8a4d4a42fd83b"
            },
            {
              "introduced": "8cf1673587969bc3a198d202d9cba7aed4f5284f"
            },
            {
              "fixed": "6ce2d1e97cec8b1f214d61f0308a545866b8437d"
            },
            {
              "fixed": "14d6d0b4e91952b959b14dacd1bf58d1ec24426d"
            },
            {
              "fixed": "b844636e7675af1791727a0b157dd2130fd4a85f"
            },
            {
              "fixed": "9aa3042878c31cc29a6233bcc0a7bbe5d0e93cfc"
            }
          ],
          "repo": "https://github.com/swoole/swoole-src",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142097.json"
  },
  "details": "Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoole_http_server_coro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers can make getContent() return up to 64 KB of heap memory, leaking other connections' Authorization and Cookie headers or crashing the server.",
  "id": "CVE-2026-142097",
  "modified": "2026-12-02T13:46:03.172563315Z",
  "published": "2026-12-02T12:19:56.819Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142097.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/swoole/swoole-src"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_http_server_coro.cc#L599-L693"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/14d6d0b4e91952b959b14dacd1bf58d1ec24426d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/9aa3042878c31cc29a6233bcc0a7bbe5d0e93cfc"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/b844636e7675af1791727a0b157dd2130fd4a85f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/swoole/swoole-src/releases/tag/v6.1.14"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/swoole/swoole-src/releases/tag/v6.2.7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142097"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-out-of-bounds-read-via-coroutine-http-server"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Swoole before 6.1.14 and 6.2.x before 6.2.7 Out-of-Bounds Read via Coroutine HTTP Server"
}