SecurityContext

CVE-2025-12657: MongoDB - Buffer Overflow

  • Cve: CVE-2025-12657
  • Name: MongoDB - Buffer Overflow
  • 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.
  • Impact: Attackers can cause read access violations leading to potential application crashes or denial of service.
  • Remediation: Update to the latest MongoDB version with KMIP parser fixes.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H
  • Epss score: 0.00392
  • Epss percentile: 0.34016
  • Assignee: [email protected]
  • Published at: 2025-11-03T21:18:50Z
  • Age in days: 386
  • Modified at: 2026-10-18T21:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12657
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-754Improper Check for Unusual or Exceptional Conditions

References

UrlSourceTags
https://jira.mongodb.org/browse/SERVER-101230nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mongodb:mongodb>= 8.0.0, < 8.0.10; >= 6.0.0, < 7.0.22nonvd/v1/products/mongodb/mongodb

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 159883
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports