CVE-2025-14847: MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by mongodb, published 2025-12-19).
Weakness: CWE-130: Improper Handling of Length Parameter Inconsistency
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing no privileges and no user interaction. Impact: confidentiality high, integrity none, availability none. 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
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: yes. Technical impact: partial.
- On CISA KEV since
- 2025-12-29
- US federal deadline
- 2026-01-19
- Ransomware use
- Not known
Public exploit evidence (Exploit Observer)
Also known as: BDU:2025-16225, CNNVD-202512-3766, EUVD-2025-204529, GHSA-4742-mr57-2r9j
VEDAS cluster: VEDAS:AXIOMASTRAL
Exploit Observer links 45 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (45)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Metasploit module: https://www.rapid7.com/db/modules/auxiliary/scanner/mongodb/cve_2025_14847_mongobleed/
- Nuclei template: https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/javascript/cves/2025/CVE-2025-14847.yaml
- Nuclei template: https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/network/cves/2025/CVE-2025-14847.yaml
- Code repository: https://github.com/0xblackash/cve-2025-14847
- Code repository: https://github.com/0xredash/cve-2025-14847
- Code repository: https://github.com/alexcyberx/cve-2025-14847_expolit
- Code repository: https://github.com/amnnrth/cve-2025-14847
- Code repository: https://github.com/ashwesker/ashwesker-cve-2025-14847
- Code repository: https://github.com/cadgoose/mongobleed-cve-2025-14847-fully-automated-scanner
- Code repository: https://github.com/chinaxploiter/cve-2025-14847-poc
- Code repository: https://github.com/codeb0ssx/cve-2025-14847-poc
- Code repository: https://github.com/cybertechajju/cve-2025-14847_expolit
- and 33 more
Research and write-ups (9)
- Research or write-up: https://horizon3.ai/attack-research/vulnerabilities/cve-2025-14847
- Research or write-up: https://phoenix.security/mongobleed-vulnerability-cve-2025-14847
- Research or write-up: https://unit42.paloaltonetworks.com/mongobleed-cve-2025-14847
- Research or write-up: https://www.akamai.com/blog/security-research/2025/dec/cve-2025-14847-all-you-need-to-know-about-mongobleed
- Research or write-up: https://www.akamai.com/blog/security-research/cve-2025-14847-all-you-need-to-know-about-mongobleed
- Research or write-up: https://www.redhotcyber.com/en/post/critical-mongodb-vulnerability-exposed-cve-2025-14847
- Research or write-up: https://www.smartkeyss.com/post/mongobleed-pre-auth-memory-disclosure-via-op_compressed-in-mongodb-cve-2025-14847
- Research or write-up: https://www.wiz.io/blog/mongobleed-cve-2025-14847-exploited-in-the-wild-mongodb
- Research or write-up: https://www.wiz.io/blog/mongobleed-cve-2025-14847-exploited-in-the-wild-mongodb#update-december-31-2025-22
Vulnerability databases and vendor advisories (11)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-204529
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-4742-mr57-2r9j
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-14847
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/UBUNTU-CVE-2025-14847
- Vulnerability database or vendor advisory: https://redos.red-soft.ru/support/secure/uyazvimosti/uyazvimost-mongodb-org-cve-2025-14847-7.3/?sphrase_id=1455101
- Vulnerability database or vendor advisory: https://ubuntu.com/security/CVE-2025-14847
- Vulnerability database or vendor advisory: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-14847
- Vulnerability database or vendor advisory: https://www.cnnvd.org.cn/home/globalSearch?keyword=CNNVD-202512-3766
- Vulnerability database or vendor advisory: https://www.tenable.com/cve/CVE-2025-14847
- Vulnerability database or vendor advisory: https://www.vicarius.io/vsociety/posts/cve-2025-14847-detection-script-heap-memory-exposure-in-mongodb-server
- Vulnerability database or vendor advisory: https://www.vicarius.io/vsociety/posts/cve-2025-14847-mitigation-script-heap-memory-exposure-in-mongodb-server
News (4)
- News: https://securityaffairs.com/186107/security/high-severity-mongodb-flaw-cve-2025-14847-could-lead-to-server-takeover.html
- News: https://securityaffairs.com/186338/hacking/mongobleed-cve-2025-14847-the-us-china-and-the-eu-are-among-the-top-exploited-geos.html
- News: https://thehackernews.com/2025/12/mongodb-vulnerability-cve-2025-14847.html
- News: https://thehackernews.com/2025/12/mongodb-vulnerability-cve-2025-14847.html?m=1
385 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.832
very likely to be attacked soon - VEDAS
- 0.987
strong exploit evidence - On CISA KEV
- Yes, since 2025-12-29
Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish. The vertical line is the day CISA added it to its exploited list.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| MongoDB Inc. MongoDB Server | from 8.2 before 8.2.3 from 8.0 before 8.0.17 from 7.0 before 7.0.28 from 6.0 before 6.0.27 from 5.0 before 5.0.32 from 4.4 before 4.4.30 version 4.2 version 4.0 and 1 more ranges | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: mongodb mongodb, mongodb_inc. mongodb, ооо_«ред_софт» ред_ос.
How to fix it
Fixed versions stated in the CVE record: 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, 4.4.30.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Vendor guidance:
How to detect it
Nuclei template (active check)
Zlib compressed protocol headers may - Vulnerability
Mismatched length fields in Zlib compressed protocol headers may allow a read of uninitialized heap memory by an unauthenticated client.
Name and description quoted from the template, written by VEDAS.
The template decides using dsl, regex, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2025-14847.yamlShow the template (58 lines)
id: CVE-2025-14847
info:
name: "Zlib compressed protocol headers may - Vulnerability"
author: vedas-arpsyndicate
severity: high
description: |
Mismatched length fields in Zlib compressed protocol headers may allow a read of uninitialized heap memory by
an unauthenticated client.
reference:
- https://www.exploit.observer/?keyword=CVE-2025-14847&match=exact
- https://subdomain.center/?engine=ammonites&keyword=mongodb&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2025-14847
cwe-id: CWE-908
metadata:
verified: false
tags: cve,cve2025,mongodb,memory-leak,network,mongobleed,kev,vkev,vuln
tcp:
- inputs:
- data: 3b0000003c300000ffffffffd40700000000000061646d696e2e24636d640000000000ffffffff14000000106275696c64696e666f000100000000
type: hex
host:
- "{{Hostname}}"
port: 27017
read-size: 2048
matchers-condition: and
matchers:
- type: word
part: raw
words:
- "version"
- "gitVersion"
condition: and
- type: dsl
dsl:
- "compare_versions(version, '>= 8.2.0') && compare_versions(version, '<= 8.2.2')"
- "compare_versions(version, '>= 8.0.0') && compare_versions(version, '<= 8.0.16')"
- "compare_versions(version, '>= 7.0.0') && compare_versions(version, '<= 7.0.27')"
- "compare_versions(version, '>= 6.0.0') && compare_versions(version, '<= 6.0.26')"
- "compare_versions(version, '>= 5.0.0') && compare_versions(version, '<= 5.0.31')"
- "compare_versions(version, '>= 4.4.0') && compare_versions(version, '<= 4.4.29')"
- "compare_versions(version, '>= 4.2.0') && compare_versions(version, '<= 4.2.25')"
- "compare_versions(version, '>= 4.0.0') && compare_versions(version, '<= 4.0.28')"
- "compare_versions(version, '>= 3.6.0') && compare_versions(version, '<= 3.6.23')"
condition: or
extractors:
- type: regex
name: version
part: raw
group: 1
regex:
- '(?s)version.{0,50}?([0-9]+\.[0-9]+\.[0-9]+)'
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-14847 Zlib compressed protocol headers may - Vulnerability. Add them to your Suricata rule set and reload.
Show the rules
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"VEDAS CVE-2025-14847 Zlib compressed protocol headers may - Vulnerability"; flow:established,to_server; content:"3b0000003c300000ffffffffd40700000000000061646d696e2e24636d64"; nocase; fast_pattern; classtype:attempted-admin; reference:cve,CVE-2025-14847; reference:url,https://www.exploit.observer/?keyword=CVE-2025-14847&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=mongodb&match=exact; sid:1011483; rev:1;)
CVE-2025-14847.rules on GitHub
Advisories on this CVE
- MongoBleed (CVE-2025-14847) (29 Dec 2025)
References
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-14847 (government-resource)
Other references
- https://jira.mongodb.org/browse/SERVER-115508
- http://www.openwall.com/lists/oss-security/2025/12/29/21
- https://www.vicarius.io/vsociety/posts/cve-2025-14847-detection-script-heap-memory-exposure-in-mongodb-server
- https://www.vicarius.io/vsociety/posts/cve-2025-14847-mitigation-script-heap-memory-exposure-in-mongodb-server
- https://www.smartkeyss.com/post/mongobleed-pre-auth-memory-disclosure-via-op_compressed-in-mongodb-cve-2025-14847
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.