{"schemaVersion":3,"id":"CVE-2025-14847","aliases":["UBUNTU-CVE-2025-14847","USN-8160-1","CGA-2qgf-cvfp-9w3p","CGA-7mpv-pg6x-wv6w","CGA-7wp2-c8gq-gv69","CGA-ff9m-w729-4gr9","CGA-gvcv-745j-mwfp","CGA-p44v-qhqv-gq97","CGA-wcjw-6x6j-r6hj","CGA-x6vw-qxmv-9jq2"],"status":"published","duplicateOf":null,"title":"MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability","description":"Mismatched length fields in Zlib compressed protocol headers may allow a read of uninitialized heap memory by an unauthenticated client. This issue affects all MongoDB Server v7.0 prior to 7.0.28 versions, MongoDB Server v8.0 versions prior to 8.0.17, MongoDB Server v8.2 versions prior to 8.2.3, MongoDB Server v6.0 versions prior to 6.0.27, MongoDB Server v5.0 versions prior to 5.0.32, MongoDB Server v4.4 versions prior to 4.4.30, MongoDB Server v4.2 versions greater than or equal to 4.2.0, MongoDB Server v4.0 versions greater than or equal to 4.0.0, and MongoDB Server v3.6 versions greater than or equal to 3.6.0.","dates":{"published":"2025-12-19T11:00:22.465Z","modified":"2026-02-26T16:07:25.054Z","reserved":null,"kevAdded":["2025-12-29T00:00:00.000Z"],"kevDue":["2026-01-19T00:00:00.000Z"]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.83218,"percentile":0.99678,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.83218},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.83218,"percentile":0.99678}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.83218,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.83218,"percentile":0.99678}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-12-29T00:00:00.000Z","dueDate":"2026-01-19T00:00:00.000Z","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","name":"MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability","description":"MongoDB Server contains an improper handling of length parameter inconsistency vulnerability in Zlib compressed protocol headers. This vulnerability may allow a read of uninitialized heap memory by an unauthenticated client.","notes":[{"type":"text","value":"This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://jira.mongodb.org/browse/SERVER-115508"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-14847","label":"nvd.nist.gov/vuln/detail/CVE-2025-14847"}],"vendor":"MongoDB","product":"MongoDB and MongoDB Server","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-12-29T00:00:00.000Z","dueDate":"2026-01-19T00:00:00.000Z","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","name":"MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability","description":"MongoDB Server contains an improper handling of length parameter inconsistency vulnerability in Zlib compressed protocol headers. This vulnerability may allow a read of uninitialized heap memory by an unauthenticated client.","notes":[{"type":"text","value":"This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://jira.mongodb.org/browse/SERVER-115508"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-14847","label":"nvd.nist.gov/vuln/detail/CVE-2025-14847"}],"vendor":"MongoDB","product":"MongoDB and MongoDB Server","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_5F2E8D002C52EDC4","name":"Exploit Reference (vicarius.io)","source":"reference","url":"https://www.vicarius.io/vsociety/posts/cve-2025-14847-detection-script-heap-memory-exposure-in-mongodb-server","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_89BD88C3187468D8","name":"Exploit Reference (vicarius.io)","source":"reference","url":"https://www.vicarius.io/vsociety/posts/cve-2025-14847-mitigation-script-heap-memory-exposure-in-mongodb-server","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_AUXILIARY_SCANNER_MONGODB_CVE_2025_14847_MONGOBLEED","name":"MongoDB Memory Disclosure (CVE-2025-14847) - Mongobleed","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/mongodb/cve_2025_14847_mongobleed.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/scanner/mongodb/cve_2025_14847_mongobleed","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency","description":"The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/130.html"}],"affected":[{"vendor":"chainguard","product":"mongod-5.0","name":"mongod-5.0","label":"mongod-5.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mongod-5.0","purlType":"apk","versions":[{"text":"< 5.0.32-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.32-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mongod-6.0","name":"mongod-6.0","label":"mongod-6.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mongod-6.0","purlType":"apk","versions":[{"text":"< 6.0.27-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.27-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mongod-7.0","name":"mongod-7.0","label":"mongod-7.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mongod-7.0","purlType":"apk","versions":[{"text":"< 7.0.28-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.28-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mongod-8.0","name":"mongod-8.0","label":"mongod-8.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mongod-8.0","purlType":"apk","versions":[{"text":"< 8.0.17-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.17-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mongodb","name":"mongodb","label":"mongodb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mongodb","purlType":"deb","versions":[{"text":"< 1:3.6.3-0ubuntu1.4+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.6.3-0ubuntu1.4+esm2 | < 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1","eol":null,"hubHref":null},{"vendor":"mongodb inc","product":"mongodb server","name":"MongoDB Server","label":"mongodb server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2, < 8.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0, < 8.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0, < 7.0.28","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.0.27","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.0.32","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.4, < 4.4.30","noFixRecorded":false,"fixedIn":null},{"text":"4.2","noFixRecorded":false,"fixedIn":null},{"text":"4.0","noFixRecorded":false,"fixedIn":null},{"text":"3.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2, < 8.2.3 | ≥ 8.0, < 8.0.17 | ≥ 7.0, < 7.0.28 | ≥ 6.0, < 6.0.27 | ≥ 5.0, < 5.0.32 | ≥ 4.4, < 4.4.30 | 4.2 | 4.0 | 3.6","eol":null,"hubHref":"/vendor/mongodb_inc/mongodb_server"},{"vendor":"mongodb","product":"mongodb","name":"mongodb","label":"mongodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.6.0, < 4.4.30","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.32","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.27","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.28","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.0, < 8.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.6.0, < 4.4.30 | ≥ 5.0.0, < 5.0.32 | ≥ 6.0.0, < 6.0.27 | ≥ 7.0.0, < 7.0.28 | ≥ 8.0.0, < 8.0.17 | ≥ 8.2.0, < 8.2.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"mongodb","label":"MongoDB Server","category":"database"}},"hubHref":"/vendor/mongodb/mongodb"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/SERVER-115508","label":"jira.mongodb.org/browse/SERVER-115508","hostname":"jira.mongodb.org","tags":["REPORT","WEB","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-14847","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-14847","hostname":"www.cisa.gov","tags":["Government Resource","WEB","Third Party Advisory","US Government Resource"]},{"url":"http://www.openwall.com/lists/oss-security/2025/12/29/21","label":"www.openwall.com/lists/oss-security/2025/12/29/21","hostname":"www.openwall.com","tags":["WEB","Mailing List"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-14847-detection-script-heap-memory-exposure-in-mongodb-server","label":"www.vicarius.io/vsociety/…","hostname":"www.vicarius.io","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-14847-mitigation-script-heap-memory-exposure-in-mongodb-server","label":"www.vicarius.io/vsociety/…","hostname":"www.vicarius.io","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://www.smartkeyss.com/post/mongobleed-pre-auth-memory-disclosure-via-op_compressed-in-mongodb-cve-2025-14847","label":"www.smartkeyss.com/post/…","hostname":"www.smartkeyss.com","tags":["WEB","Technical Description","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-14847","label":"ubuntu.com/security/CVE-2025-14847","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-14847","label":"www.cve.org/CVERecord?id=CVE-2025-14847","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog","hostname":"www.cisa.gov","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8160-1","label":"ubuntu.com/security/notices/USN-8160-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14847.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14847.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14847","label":"nvd.nist.gov/vuln/detail/CVE-2025-14847","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-37J8-H929-W75Q","CGA-Q55V-F2J5-6X2Q","CGA-R8X7-2648-724G"]},"timeline":[{"kind":"published","date":"2025-12-19T11:00:22.465Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2025-12-29T00:00:00.000Z","label":"Added to CISA KEV","detail":"MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2026-01-19T00:00:00.000Z","label":"CISA remediation due","detail":"Apply mitigations per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2026-02-26T16:07:25.054Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:24:11.396Z","stale":false,"partial":false}}