PT-2025-52440 · Mongodb+3 · Mongodb Server+4

·

CVE-2025-14847

·

Published

2025-12-19

·

Updated

2026-07-21

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions MongoDB Server versions prior to 8.2.3 MongoDB Server versions prior to 8.0.17 MongoDB Server versions prior to 7.0.28 MongoDB Server versions prior to 6.0.27 MongoDB Server versions prior to 5.0.32 MongoDB Server versions prior to 4.4.30 MongoDB Server versions 3.6.0 through 4.2.x
Description An issue in the decompression logic of zlib-compressed network messages allows an unauthenticated remote attacker to read uninitialized heap memory. By sending specially crafted malformed packets with mismatched length fields, an attacker can cause the server to allocate an oversized memory buffer and return fragments of its own heap memory to the client. This memory may contain sensitive information such as passwords, API keys, session tokens, and other secrets. Approximately 87,000 MongoDB servers are estimated to be exposed to the internet and potentially vulnerable, with 42% of cloud environments containing at least one vulnerable instance. Real-world exploitation has been reported, including claims of a breach at Ubisoft where the flaw was allegedly used to pivot into internal repositories and steal source code and user data.
Recommendations Upgrade MongoDB Server to version 8.2.3 or newer. Upgrade MongoDB Server to version 8.0.17 or newer. Upgrade MongoDB Server to version 7.0.28 or newer. Upgrade MongoDB Server to version 6.0.27 or newer. Upgrade MongoDB Server to version 5.0.32 or newer. Upgrade MongoDB Server to version 4.4.30 or newer. As a temporary mitigation, disable zlib compression by setting net.compression.compressors to snappy,zstd or disabled in the configuration. Restrict access to the MongoDB server through firewall rules to ensure it is not publicly accessible. Rotate database credentials and secrets that may have been exposed in memory.

Exploit

Fix

DoS

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-16225
BIT-MONGODB-2025-14847
CLEANSTART-2026-AP31842
CLEANSTART-2026-AT88149
CLEANSTART-2026-CH64198
CLEANSTART-2026-DT95939
CLEANSTART-2026-IO64893
CLEANSTART-2026-IY98831
CLEANSTART-2026-MZ44265
CLEANSTART-2026-ON55906
CLEANSTART-2026-PE52216
CLEANSTART-2026-QL45485
CLEANSTART-2026-QN97697
CLEANSTART-2026-QS28268
CLEANSTART-2026-RG55910
CLEANSTART-2026-RN77098
CLEANSTART-2026-RS39538
CLEANSTART-2026-VA62549
CLEANSTART-2026-VW96633
CLEANSTART-2026-WK82561
CLEANSTART-2026-ZE36720
CVE-2025-14847
USN-8160-1

Affected Products

Linuxmint
Mongodb Server
Mongodb
Red Os
Ubuntu