# CVE-2025-12657: Malformed KMIP response may result in access violation

- Severity: Medium 5.9 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 33% of CVEs (2026-11-30)
- Published: 2025-11-03T21:03:25.384Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: BIT-MONGODB-2025-12657
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

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.

(As written by CVE List.)

## Affected

- MongoDB Inc. MongoDB Server: from 6.0 before 7.0.22; from 8.0 before 8.0.10
- mongodb mongodb: from 6.0.0 before 7.0.22; from 8.0.0 before 8.0.10
- mongodb (Bitnami): from 6.0.0 before 7.0.22; from 8.0.0 before 8.0.10

## Every score

- mongodb: CVSS:4.0 5.9 Medium `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`
- mongodb: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://jira.mongodb.org/browse/SERVER-101230> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12657> (web)

## Sources

- CVE List: [CVE-2025-12657](https://www.cve.org/CVERecord?id=CVE-2025-12657), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-12657](https://nvd.nist.gov/vuln/detail/CVE-2025-12657), Public domain, modified 2026-10-18
- Bitnami Vulnerability Database: [BIT-MONGODB-2025-12657](https://osv.dev/vulnerability/BIT-MONGODB-2025-12657), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-12657 · Whole record: https://cve.day/CVE-2025-12657.json · Rebuilt by cve.day 2026-11-25T22:59:07.131Z
