Skip to content
RedCVE

CVE-2025-14847MongoDB Server Zlib protocol header memory leak

ExploitedMongoDBPublished:

CVSS score

8.7

High

CVSS 4.0 from mongodb.com

Exploit probability (EPSS)

78.5%

78.5% chance of exploitation in the next 30 days, higher than 99.6% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 29 Dec 2025.

US federal deadline to fix: 19 Jan 2026.

In plain words

An unauthenticated client can send crafted Zlib-compressed messages with mismatched length fields to make MongoDB Server read uninitialized heap memory over the network. Versions 3.6 through 8.2 before the listed fixed releases are affected, including all 4.2 and 4.0 builds. CISA reports this flaw is being exploited in the wild, so upgrade to MongoDB 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32 or 4.4.30 as applicable, or apply vendor mitigations if you cannot upgrade yet.

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

Source: NVD · CNA: cna@mongodb.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 29 Dec 2025.

    US federal agencies must fix it by 19 Jan 2026. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Mongodb, MongoDB Server and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Mongodb, MongoDB Server to 4.4.30, 5.0.32, 6.0.27, 7.0.28 or later, on the branch you run.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
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
MongoDB 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

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-14847 being exploited?

Yes. CISA added CVE-2025-14847 to its Known Exploited Vulnerabilities catalog on 29 Dec 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 78.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-14847?

CVE-2025-14847 has a CVSS 4.0 base score of 8.7 (high).

Which versions are affected?

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), MongoDB 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)

Is there a patch for CVE-2025-14847?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.