CVE-2026-13072

Source
https://cve.org/CVERecord?id=CVE-2026-13072
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13072.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-13072
Aliases
Downstream
Published
2026-07-22T19:14:15.681Z
Modified
2026-08-20T10:17:10.689672Z
Severity
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
MongoDB Improper Input Validation in Compute Mode External Data Processing Leading to Memory Corruption
Details

When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BSON data during aggregation pipeline processing can result in memory corruption, potentially leading to process termination or other unintended behavior. This configuration is non-default and requires explicit enablement at startup.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "fixed": "7.0.39"
                },
                {
                    "introduced": "8.0"
                },
                {
                    "fixed": "8.0.28"
                },
                {
                    "introduced": "8.2.0"
                },
                {
                    "fixed": "8.2.12"
                },
                {
                    "introduced": "8.3.0"
                },
                {
                    "fixed": "8.3.7"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "mongodb",
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13072.json"
}
References

Affected packages

Git / github.com/mongodb/mongo

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.39"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.0.28"
        },
        {
            "introduced": "8.2.0"
        },
        {
            "fixed": "8.2.12"
        },
        {
            "introduced": "8.3.0"
        },
        {
            "fixed": "8.3.7"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*"
}

Affected versions

r7.*
r7.0.0
r7.0.1
r7.0.1-rc0
r7.0.10
r7.0.10-rc0
r7.0.11
r7.0.11-rc0
r7.0.11-rc1
r7.0.11-rc2
r7.0.12
r7.0.12-rc0
r7.0.12-rc1
r7.0.13
r7.0.13-rc0
r7.0.13-rc1
r7.0.14
r7.0.14-rc0
r7.0.15
r7.0.15-rc0
r7.0.15-rc1
r7.0.16
r7.0.16-rc0
r7.0.16-rc1
r7.0.17
r7.0.18
r7.0.2
r7.0.2-rc0
r7.0.2-rc1
r7.0.2-rc2
r7.0.21
r7.0.21-alpha0
r7.0.21-rc0
r7.0.22
r7.0.22-rc0
r7.0.23
r7.0.23-rc0
r7.0.23-rc1
r7.0.24
r7.0.24-rc0
r7.0.25-alpha0
r7.0.26
r7.0.26-rc0
r7.0.27
r7.0.27-alpha0
r7.0.27-rc0
r7.0.3
r7.0.3-rc0
r7.0.3-rc1
r7.0.35
r7.0.4
r7.0.4-rc0
r7.0.5
r7.0.5-rc0
r7.0.6
r7.0.6-rc0
r7.0.7
r7.0.7-rc0
r7.0.7-rc1
r7.0.7-rc2
r7.0.8
r7.0.8-rc0
r7.0.9
r7.0.9-rc0
r7.0.9-rc1
r8.*
r8.0.0
r8.0.1
r8.0.1-rc0
r8.0.10
r8.0.10-rc0
r8.0.12
r8.0.12-rc0
r8.0.13
r8.0.13-rc0
r8.0.13-rc1
r8.0.13-rc2
r8.0.14
r8.0.14-rc0
r8.0.14-rc1
r8.0.16
r8.0.16-rc0
r8.0.16-rc1
r8.0.17-alpha0
r8.0.2
r8.0.24
r8.0.3
r8.0.4
r8.0.4-rc0
r8.0.5
r8.0.5-rc0
r8.0.5-rc1
r8.0.5-rc2
r8.0.6
r8.2.0
r8.2.1
r8.2.1-rc0
r8.2.1-rc1
r8.2.10
r8.2.2
r8.2.2-rc0
r8.2.3-alpha0
r8.2.4-alpha0
r8.2.4-alpha1
r8.3.0
r8.3.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13072.json"
vanir_signatures
[
    {
        "target": {
            "file": "src/mongo/db/pipeline/javascript_execution.cpp"
        },
        "deprecated": false,
        "source": "https://github.com/mongodb/mongo/commit/10d50f5046de5c76a9d869823219134b3596905a",
        "id": "CVE-2026-13072-18a7c7d6",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "195283451325379709791176466181059330449",
                "11934503373533753673416013101293166641",
                "34761259574797342523983725962110135860",
                "6697845561671035843872382804131271398",
                "190799824288394015190372324041271803151"
            ]
        },
        "signature_type": "Line"
    },
    {
        "target": {
            "function": "JsExecution::callFunction",
            "file": "src/mongo/db/pipeline/javascript_execution.cpp"
        },
        "deprecated": false,
        "source": "https://github.com/mongodb/mongo/commit/10d50f5046de5c76a9d869823219134b3596905a",
        "id": "CVE-2026-13072-309120cf",
        "signature_version": "v1",
        "digest": {
            "length": 419.0,
            "function_hash": "139145742414386593281199011500928031122"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "file": "src/mongo/scripting/mozjs/objectwrapper.cpp"
        },
        "deprecated": false,
        "source": "https://github.com/mongodb/mongo/commit/10d50f5046de5c76a9d869823219134b3596905a",
        "id": "CVE-2026-13072-cb3d2fa4",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "235349502426767986109171624443399362060",
                "332118117976299452680602889698335846937",
                "273414055616980281623380822972213976202",
                "260359270913691981069265618939534968152",
                "92760588891291927255272146911062451930",
                "131421526859279654507125979858138582212"
            ]
        },
        "signature_type": "Line"
    },
    {
        "target": {
            "file": "src/mongo/db/pipeline/expression_javascript_test.cpp"
        },
        "deprecated": false,
        "source": "https://github.com/mongodb/mongo/commit/10d50f5046de5c76a9d869823219134b3596905a",
        "id": "CVE-2026-13072-e13fbe7c",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "39839291339635135228351456498984914983",
                "35727036334983502474101853618146564071",
                "152433407413412697966849125832082995516"
            ]
        },
        "signature_type": "Line"
    },
    {
        "target": {
            "function": "ObjectWrapper::toBSON",
            "file": "src/mongo/scripting/mozjs/objectwrapper.cpp"
        },
        "deprecated": false,
        "source": "https://github.com/mongodb/mongo/commit/10d50f5046de5c76a9d869823219134b3596905a",
        "id": "CVE-2026-13072-e30fe2e5",
        "signature_version": "v1",
        "digest": {
            "length": 1418.0,
            "function_hash": "284447201108016139902358258055612064237"
        },
        "signature_type": "Function"
    }
]
vanir_signatures_modified
"2026-08-20T10:17:10Z"