{
  "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": "fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e42411a1556abb475e767e9a850932e79fc3bfec"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "bae77c64a87f76f31c86053776298a58e88aac8b"
                  }
                ],
                "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": "fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9"
            },
            {
              "fixed": "e42411a1556abb475e767e9a850932e79fc3bfec"
            },
            {
              "fixed": "bae77c64a87f76f31c86053776298a58e88aac8b"
            }
          ],
          "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-142096.json"
  },
  "details": "Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in php_swoole_redis_server_onReceive() that trusts unchecked RESP bulk string lengths. Unauthenticated clients can announce oversized lengths to leak adjacent worker heap memory in responses, or negative lengths to crash workers.",
  "id": "CVE-2026-142096",
  "modified": "2026-12-02T13:45:31.105488038Z",
  "published": "2026-12-02T12:19:57.932Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142096.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_redis_server.cc#L126-L145"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88aac8b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc3bfec"
    },
    {
      "type": "FIX",
      "url": "https://github.com/swoole/swoole-src/commit/fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9"
    },
    {
      "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-142096"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-redis-server-out-of-bounds-read"
    }
  ],
  "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 Redis Server Out-of-Bounds Read"
}