# CVE-2025-14847: MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability

- Priority: **Act now**
- Reason: Listed as exploited by CISA (29-12-2025)
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-19 · Modified: 2026-02-26
- 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
- Record: https://cvemate.com/vulnerability/CVE-2025-14847 · JSON: https://cvemate.com/vulnerability/CVE-2025-14847/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 78.501%, percentile 99.59%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2025-12-29, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, metasploit)

## Affected

- chainguard mongod-5.0 (Chainguard): \< 5.0.32-r0
- chainguard mongod-6.0 (Chainguard): \< 6.0.27-r0
- chainguard mongod-7.0 (Chainguard): \< 7.0.28-r0
- chainguard mongod-8.0 (Chainguard): \< 8.0.17-r0
- ubuntu mongodb (Ubuntu): \< 1:3.6.3-0ubuntu1.4+esm2 \| \< 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1
- mongodb inc mongodb server: ≥ 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
- mongodb mongodb: ≥ 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

## References

- <https://jira.mongodb.org/browse/SERVER-115508>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-14847>
- <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>
- <https://ubuntu.com/security/CVE-2025-14847>
- <https://www.cve.org/CVERecord?id=CVE-2025-14847>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>
- <https://ubuntu.com/security/notices/USN-8160-1>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14847.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-14847>

---

Data as of 2026-12-05T05:10:32.400Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
