{
  "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": "98b7561c30f7a5b76b36201c193c8083d84db83f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "70c200aee420366c05d2104b769527e8c1a5b330"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "8f81e1b44c1a926342a01c3413a6b1aa67e27ea5"
                  }
                ],
                "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": "98b7561c30f7a5b76b36201c193c8083d84db83f"
            },
            {
              "fixed": "70c200aee420366c05d2104b769527e8c1a5b330"
            },
            {
              "fixed": "8f81e1b44c1a926342a01c3413a6b1aa67e27ea5"
            }
          ],
          "repo": "https://github.com/swoole/swoole-src",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-401"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142095.json"
  },
  "details": "Swoole before 6.1.14 and 6.2.x before 6.2.7 contains a memory leak in the HTTP/2 header callback that copies each repeated :path pseudo-header without freeing the earlier value. Remote unauthenticated attackers can send HEADERS frames repeating :path via HPACK dynamic-table references to leak megabytes per request and terminate server workers.",
  "id": "CVE-2026-142095",
  "modified": "2026-12-02T13:45:52.618847916Z",
  "published": "2026-12-02T12:19:59.037Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142095.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_http2_server.cc#L1031"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/70c200aee420366c05d2104b769527e8c1a5b330"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/8f81e1b44c1a926342a01c3413a6b1aa67e27ea5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/98b7561c30f7a5b76b36201c193c8083d84db83f"
    },
    {
      "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-142095"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-http-2-memory-leak-via-repeated-path"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Swoole before 6.1.14 and 6.2.x before 6.2.7 HTTP/2 Memory Leak via Repeated :path"
}