Vulnerability in KMIP Response Parser of MongoDB Products
CVE-2025-12657
Key Information:
- Vendor
MongoDB
- Status
- CVE ID
- CVE ID:
- CVE-2025-12657
- Vendor
- CVE Published:
- 3 November 2025
- Fixed in
- Fixed in:
- 7.0.22, 8.0.10
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Install the MongoDB Server release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach MongoDB Server. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (5.9).
What is CVE-2025-12657?
The KMIP response parser present in certain MongoDB binaries exhibits excessive leniency towards malformed packets. This insufficient validation can allow the parser to handle these packets incorrectly, potentially leading to the creation of invalid objects. Subsequent attempts to read from these objects can trigger read access violations, posing a risk to system stability and data integrity.
References
More MongoDB Vulnerabilities
Use-After-Free Vulnerability in MongoDB Server's Replication Component
TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections
Memory Exhaustion Vulnerability in MongoDB
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction