{"id":"OESA-2026-4979","summary":"mongo-c-driver security update","details":"mongo-c-driver is a project that includes two libraries: libmongoc, a client library written in C for MongoDB. libbson, a library providing useful routines related to building, parsing, and iterating BSON documents.\r\n\r\nSecurity Fix(es):\n\nA memory management flaw in the MongoDB C Driver&apos;s handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.(CVE-2026-120678)\n\nA memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application&apos;s process, including credentials.(CVE-2026-120684)\n\nThe GridFS file download API in the MongoDB C Driver does not check the result of an internal operation under certain error conditions during file retrieval. This can cause the process to terminate when stream operations continue. A user who can influence file download parameters can trigger this condition, which may result in service unavailability for applications using the affected API.(CVE-2026-120955)\n\nThe 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&apos;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.(CVE-2026-120956)","modified":"2026-11-19T02:00:31.585556658Z","published":"2026-11-19T01:43:44Z","upstream":["CVE-2026-120678","CVE-2026-120684","CVE-2026-120955","CVE-2026-120956"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-4979"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120678"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120684"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120955"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120956"}],"affected":[{"package":{"name":"mongo-c-driver","ecosystem":"openEuler:24.03-LTS-SP4","purl":"pkg:rpm/openEuler/mongo-c-driver&distro=openEuler-24.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30.15-1.oe2403sp4"}]}],"ecosystem_specific":{"x86_64":["libbson-1.30.15-1.oe2403sp4.x86_64.rpm","libbson-devel-1.30.15-1.oe2403sp4.x86_64.rpm","mongo-c-driver-1.30.15-1.oe2403sp4.x86_64.rpm","mongo-c-driver-debuginfo-1.30.15-1.oe2403sp4.x86_64.rpm","mongo-c-driver-debugsource-1.30.15-1.oe2403sp4.x86_64.rpm","mongo-c-driver-devel-1.30.15-1.oe2403sp4.x86_64.rpm"],"aarch64":["libbson-1.30.15-1.oe2403sp4.aarch64.rpm","libbson-devel-1.30.15-1.oe2403sp4.aarch64.rpm","mongo-c-driver-1.30.15-1.oe2403sp4.aarch64.rpm","mongo-c-driver-debuginfo-1.30.15-1.oe2403sp4.aarch64.rpm","mongo-c-driver-debugsource-1.30.15-1.oe2403sp4.aarch64.rpm","mongo-c-driver-devel-1.30.15-1.oe2403sp4.aarch64.rpm"],"noarch":["mongo-c-driver-help-1.30.15-1.oe2403sp4.noarch.rpm"],"src":["mongo-c-driver-1.30.15-1.oe2403sp4.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-4979.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}