{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.32"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.21"
              },
              {
                "introduced": "8.2.0"
              },
              {
                "fixed": "8.2.6"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "37d84072b5c5b9fd723db5fa133fb202ad2317f1"
            },
            {
              "fixed": "169d1f049ccd836820e4728cf834bb1513b5e015"
            },
            {
              "introduced": "b41cda4fe697dce6fd9b83b3805362ccc02fbeb3"
            },
            {
              "fixed": "08e0c4612b855c4e73385c2ec838588f82d8a19b"
            },
            {
              "introduced": "b993867dce63dd366cd93e60f3f425ed716f6497"
            },
            {
              "fixed": "32a732a9b646200050bedd569d0e18fda534f92c"
            }
          ],
          "repo": "https://github.com/mongodb/mongo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-617"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8843.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "7.0"
          },
          {
            "fixed": "7.0.32"
          },
          {
            "introduced": "8.0"
          },
          {
            "fixed": "8.0.21"
          },
          {
            "introduced": "8.2"
          },
          {
            "fixed": "8.2.6"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Creating a \"2dsphere_bucket\" index on a non-timeseries bucket collection will succeed, but any subsequent attempt to insert a document which triggers updating that index will crash the server. A similar issue occurs when creating \"queryable_encrypted_range\" indices.\n\nThis issue affects MongoDB Server v7.0 versions prior to 7.0.32, v8.0 versions prior to 8.0.21 and v8.2 versions prior to 8.2.6",
  "id": "CVE-2026-8843",
  "modified": "2026-09-26T03:30:57.127615705Z",
  "published": "2026-05-18T15:40:06.265Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8843.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8843"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mongodb.org/browse/SERVER-116327"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Calling createIndex with certain index types can crash mongod"
}