CVE-2025-12657 json
Malformed KMIP response may result in access violation
published last yr. modified 24d ago also BIT-mongodb-2025-12657 , EUVD-2025-37518
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
The KMIP response parser built into mongo binaries is overly tolerant of certain malformed packets, and may parse them into invalid objects. Later reads of this object can result in read access violations.
Patch / fix
- bitnami mongodb 7.0.22, 8.0.10
- MongoDB Inc. MongoDB Server 7.0.22, 8.0.10
Is CVE-2025-12657 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.9 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H |
| CNA | 4.0 | 5.9 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:H/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 |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mongodb | >=6.0.0, <7.0.22 >=8.0.0, <8.0.10 |
7.0.22 8.0.10 |
Affected products
- MongoDB Inc. MongoDB Server
Classification
- Weakness
-
- CWE-754 Improper Check for Unusual or Exceptional Conditions
- Technology feeds
References
-
jira.mongodb.org
/browse/SERVER-101230
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-12657
web
Sources
- CVE List CVE-2025-12657
- NVD CVE-2025-12657
- OSV BIT-mongodb-2025-12657
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.