{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.0.0"
              },
              {
                "last_affected": "6.0.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "e61bf27c2f6a83fed36e5a13c008a32d563babe2"
            },
            {
              "last_affected": "f803681c3ae19817d31958965850193de067c516"
            }
          ],
          "repo": "https://github.com/mongodb/mongo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-908"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8654.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "6.0.3"
          },
          {
            "last_affected": "6.0.3"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are called in internal aggregation stage. This issue affected MongoDB Server v6.0 version 6.0.3.",
  "id": "CVE-2024-8654",
  "modified": "2026-07-15T01:49:07.162056736Z",
  "published": "2024-09-10T13:35:50.554Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/SERVER-71477"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8654.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8654"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.netapp.com/advisory/ntap-20250516-0008/"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MongoDB Server may access non-initialized region of memory leading to unexpected behaviour"
}