Stackurity Start free trial

CVEs / CVE-2025-14847

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

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-14847

Summary

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.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 19 Dec 2025 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
MongoDB Inc. MongoDB Serverfrom 8.2, before 8.2.38.2.3
MongoDB Inc. MongoDB Serverfrom 8.0, before 8.0.178.0.17
MongoDB Inc. MongoDB Serverfrom 7.0, before 7.0.287.0.28
MongoDB Inc. MongoDB Serverfrom 6.0, before 6.0.276.0.27
MongoDB Inc. MongoDB Serverfrom 5.0, before 5.0.325.0.32
MongoDB Inc. MongoDB Serverfrom 4.4, before 4.4.304.4.30
MongoDB Inc. MongoDB Server4.2—
MongoDB Inc. MongoDB Server4.0—
MongoDB Inc. MongoDB Server3.6—

Exploitation

In CISA KEV since29 Dec 2025
Due date for US federal agencies19 Jan 2026
Used in ransomware campaignsUnknown
Required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 4.08.7 high
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
Scored by the CNA ([email protected])
WeaknessCWE-130

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.