{"id":"CVE-2026-120956","aliases":["DEBIAN-CVE-2026-120956","EUVD-2026-116135","UBUNTU-CVE-2026-120956","openSUSE-SU-2026:12437-1"],"status":"published","title":"remote abort and memory disclosure from a malformed cursor.ns","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.","severity":{"version":"4.0","score":7.1,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00252,"percentile":0.16868,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-617"],"published":"2026-11-03T18:41:44Z","modified":"2026-11-09T14:00:09Z","fixes":[{"ecosystem":"Debian:14","package":"mongo-c-driver","fixed_in":["2.5.8-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.23.1-1","1.23.1-1+deb12u1","1.23.1-1+deb12u2","1.23.1-1+deb12u3","1.24.1-1","1.24.2-1","1.24.3-1","1.24.4-1","1.25.0-1","1.25.1-1","1.25.2-1","1.25.4-1","1.25.4-1.1~exp1","1.26.0-1","1.26.0-1.1","1.26.0-1.1~exp1","1.26.1-1","1.26.2-1","1.27.0-1","1.27.1-1","1.27.2-1","1.27.3-1","1.27.4-1","1.27.5-1","1.27.6-1","1.28.0-1","1.28.1-1","1.29.0-1","1.29.1-1","1.29.2-1","1.30.0-1","1.30.1-1","1.30.2-1","1.30.3-1","1.30.4-1","2.0.2-1","2.1.0-1","2.1.1-1","2.1.2-1","2.2.0-1","2.2.1-1","2.2.2-1","2.2.3-1","2.2.4-1","2.3.0-1","2.3.1-1","2.3.2-1","2.3.3-1","2.4.0-1","2.5.0-1","2.5.1-1","2.5.2-1","2.5.3-1","2.5.5-1","2.5.6-1","2.5.7-1","2.5.8-1"]},{"source":"osv","ecosystem":"Debian:13","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.4-1","1.30.4-1+deb13u1","1.30.4-1+deb13u2","1.30.4-1+deb13u3","2.0.2-1","2.1.0-1","2.1.1-1","2.1.2-1","2.2.0-1","2.2.1-1","2.2.2-1","2.2.3-1","2.2.4-1","2.3.0-1","2.3.1-1","2.3.2-1","2.3.3-1","2.4.0-1","2.5.0-1","2.5.1-1","2.5.2-1","2.5.3-1","2.5.5-1","2.5.6-1","2.5.7-1","2.5.8-1"]},{"source":"osv","ecosystem":"Debian:14","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.8-1"}]}],"versions":["1.30.4-1","2.0.2-1","2.1.0-1","2.1.1-1","2.1.2-1","2.2.0-1","2.2.1-1","2.2.2-1","2.2.3-1","2.2.4-1","2.3.0-1","2.3.1-1","2.3.2-1","2.3.3-1","2.4.0-1","2.5.0-1","2.5.1-1","2.5.2-1","2.5.3-1","2.5.5-1","2.5.6-1","2.5.7-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0-1","1.15.1-1","1.15.2-1","1.16.0-1","1.16.1-1","1.16.1-1build1","1.16.1-1build2","1.16.1-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0-1","1.19.1-1","1.19.2-1","1.20.0-1","1.20.0-1build1","1.20.1-1","1.21.0-1","1.21.0-1build1","1.21.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.3-1","1.24.4-1","1.25.1-1","1.25.2-1","1.25.4-1","1.26.0-1","1.26.0-1.1ubuntu1","1.26.0-1.1ubuntu2","1.26.0-1.1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.2-1","2.3.1-1","2.3.2-1","2.3.3-1build1","2.5.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.4-1ubuntu1","2.2.0-1","2.2.1-1","2.2.2-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.8-1.1"}]}],"bundled":5}],"products":[{"vendor":"mongodb","product":"c driver"},{"vendor":"mongodb inc.","product":"c driver"}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6501","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-120956","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-120956","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120956","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120678","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120684","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120954","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120955","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120956","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-120956","title":"remote abort and memory disclosure from a malformed cursor.ns","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.","status":"published","published":"2026-11-03T18:41:44.672Z","modified":"2026-11-03T20:01:51.405Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-617"],"updated_at":"2026-11-03T22:58:38.056681Z"}],"euvd":[{"id":"EUVD-2026-116135","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.","status":"published","published":"2026-11-03T18:41:44Z","modified":"2026-11-03T20:01:51Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high"}],"updated_at":"2026-11-03T21:20:12.603156Z"}],"nvd":[{"id":"CVE-2026-120956","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.","status":"published","published":"2026-11-03T19:18:00.837Z","modified":"2026-11-03T20:18:12.83Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high","assessor":"secondary"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-617"],"updated_at":"2026-11-03T22:58:51.822037Z"}],"osv":[{"id":"DEBIAN-CVE-2026-120956","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.","status":"published","published":"2026-11-03T19:18:00.837Z","modified":"2026-11-09T14:00:09.44580883Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high"}],"updated_at":"2026-11-09T14:31:39.434822Z"},{"id":"UBUNTU-CVE-2026-120956","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.","status":"published","published":"2026-11-03T19:18:00Z","modified":"2026-11-05T11:47:28.492187365Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"high"},{"version":"4.0","score":7.1,"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","level":"high"}],"updated_at":"2026-11-05T13:30:15.321876Z"},{"id":"openSUSE-SU-2026:12437-1","title":"bson-devel-2.5.8-1.1 on GA media","description":"These are all security issues fixed in the bson-devel-2.5.8-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-11-05T00:00:00Z","modified":"2026-11-06T17:23:10.702493418Z","updated_at":"2026-11-06T18:05:03.243497Z"}]}}
