{"schemaVersion":4,"id":"CVE-2026-120818","aliases":[],"status":"published","duplicateOf":null,"title":"Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure","description":"A use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability.","dates":{"published":"2026-11-10T20:16:01.719Z","modified":"2026-11-13T19:00:12.313Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00441,"percentile":0.40083,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-11T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00441,"percentile":0.40083}],"last30":[{"date":"2026-11-11T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00441,"percentile":0.40083}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"mongodb","product":"mongodb server","name":"MongoDB Server","label":"mongodb server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.3.0, < 8.3.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.3.0","startInclusive":true,"end":"8.3.16","endInclusive":false}},{"text":"≥ 8.0.0, < 8.0.37","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.0.37","endInclusive":false}},{"text":"≥ 7.0.0, < 7.0.48","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.48","endInclusive":false}}],"versionsText":"≥ 8.3.0, < 8.3.16 | ≥ 8.0.0, < 8.0.37 | ≥ 7.0.0, < 7.0.48","eol":null,"hubHref":"/vendor/mongodb/mongodb_server"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/SERVER-135727","label":"jira.mongodb.org/browse/SERVER-135727","hostname":"jira.mongodb.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-10T20:16:01.719Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-13T19:00:12.313Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,71],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00441,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-13T19:00:12.313Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-13T19:00:12.313Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-13T19:00:12.313Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-13T19:00:12.313Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-13T19:00:00.812Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00441,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:41:39.888Z","stale":false,"partial":false}}