# CVE-2025-14847: Zlib compressed protocol header length confusion may allow memory read

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Yes: in CISA KEV since 2025-12-29; federal due date 2026-01-19
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 4.71% (percentile 93, 2026-11-26)
- **CWE:** CWE-130
- **Published:** 2025-12-19T11:00:22.465Z
- **Modified:** 2026-06-17T08:36:38.717Z

## Who should check

- Anyone running 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

## 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.

## Affected and fixed versions

- 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 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Timeline

- 2025-12-19: Published
- 2025-12-29: Added to CISA KEV (exploited in the wild)
- 2026-01-19: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-14847. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-14847.md
Affected: 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
Fixed in: MongoDB Inc. MongoDB Server 8.2.3, MongoDB Inc. MongoDB Server 8.0.17, MongoDB Inc. MongoDB Server 7.0.28, MongoDB Inc. MongoDB Server 6.0.27, MongoDB Inc. MongoDB Server 5.0.32, MongoDB Inc. MongoDB Server 4.4.30

Steps:
1. Search this machine and project for MongoDB Inc. MongoDB Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-14847 being exploited?

Yes. CISA lists CVE-2025-14847 in its Known Exploited Vulnerabilities catalog since 2025-12-29, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 4.71% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-14847?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-14847?

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.

### Is there a fix for CVE-2025-14847?

Yes. Fixed in MongoDB Inc. MongoDB Server 8.2.3, MongoDB Inc. MongoDB Server 8.0.17, MongoDB Inc. MongoDB Server 7.0.28, MongoDB Inc. MongoDB Server 6.0.27, MongoDB Inc. MongoDB Server 5.0.32, MongoDB Inc. MongoDB Server 4.4.30. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-14847?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://jira.mongodb.org/browse/SERVER-115508>
- exploit: <https://www.vicarius.io/vsociety/posts/cve-2025-14847-detection-script-heap-memory-exposure-in-mongodb-server>
- exploit: <https://www.vicarius.io/vsociety/posts/cve-2025-14847-mitigation-script-heap-memory-exposure-in-mongodb-server>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-14847>
- other: <http://www.openwall.com/lists/oss-security/2025/12/29/21>
- other: <https://www.smartkeyss.com/post/mongobleed-pre-auth-memory-disclosure-via-op_compressed-in-mongodb-cve-2025-14847>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-14847>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-14847> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-14847>
