{"affected":[{"defaultStatus":"unaffected","product":"C Driver","source":"CNA: mongodb","vendor":"MongoDB","versions":[{"lessThanOrEqual":"1.30.14","status":"affected","version":"1.25.0","versionType":"semver"},{"lessThanOrEqual":"2.5.7","status":"affected","version":"2.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-120956","cwes":["CWE-617"],"description":"The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.1,"severity":"high","source":"CNA: mongodb","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":7.1,"severity":"high","source":"CNA: mongodb","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},{"score":7.1,"severity":"high","source":"NVD: cna@mongodb.com","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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","version":"4.0"},{"score":7.1,"severity":"high","source":"NVD: cna@mongodb.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"}],"modifiedAt":1793737092830,"publishedAt":1793731304672,"references":[{"source":"CNA: mongodb","tags":[],"url":"https://jira.mongodb.org/browse/CDRIVER-6501"},{"source":"cna@mongodb.com","tags":[],"url":"https://jira.mongodb.org/browse/CDRIVER-6501"}],"remediation":[],"revision":"6d2b35f06a966577e2c5ec83093d478a445aa667209c2f6d8b496523982c748a","sources":[{"modifiedAt":1793736111405,"name":"CNA: mongodb","retrievedAt":1793740224713,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120956"},{"modifiedAt":1793737092830,"name":"NVD","retrievedAt":1793751697669,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120956"}],"ssvc":{"assessedAt":1793736100053,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"remote abort and memory disclosure from a malformed cursor.ns","updatedAt":1793751697669}