Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      CVE ID:

      CVE-2025-6706

      Title:
      Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server

      Description:
      An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server.
      The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.

      CVSS Score:

      5.0 - https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

      List all affected product versions:

      MongoDB Server v6.0 version prior to 6.0.21

      MongoDB Server v7.0 version prior to 7.0.17

      MongoDB Server v8.0 version prior to 8.0.4

      CWE:

      CWE-416: Use After Free

      Required Configuration:

      SBE Engine must be enabled in order for this to occur.

            Assignee:
            Unassigned
            Reporter:
            Karman Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: