{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-84970 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-84970 is a medium-severity vulnerability in MongoDB C++ Driver, published on 3 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-84970 and fix it if it is affected.\n\nWhat it is: CVE-2026-84970 is a medium-severity vulnerability in MongoDB C++ Driver, published on 3 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-84970 in the wild and no public exploit code.\n\nAffected product: MongoDB C++ Driver. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-84970/ (Markdown: https://insights.sbomify.com/CVE-2026-84970/index.md)","id":"CVE-2026-84970","markdown":"https://insights.sbomify.com/CVE-2026-84970/index.md","name":"CVE-2026-84970","record":{"aliases":["DEBIAN-CVE-2026-84970","GHSA-j94p-2ppx-483m","UBUNTU-CVE-2026-84970"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MongoDB C++ Driver","requires_auth":"none","summary":"Attackers can trigger heap over-reads or crashes in applications using the MongoDB C++ Driver by supplying large JSON inputs due to integer truncation.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"c\\+\\+_driver","vendor":"mongodb"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-681","name":"Incorrect Conversion between Numeric Types"}],"description":"A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to read memory beyond the supplied buffer and return it to the caller, to silently accept only part of the input as a complete document, or to terminate the process. No MongoDB server, credentials, or non-default configuration is required; the effect is confined to the process that uses the library.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser","id":"CVE-2026-84970","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Persistent client crash loop via undersized FLE2 insert-update ciphertext in decryption path","id":"CVE-2026-84971"},"packages":[],"prev":{"headline":"Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output","id":"CVE-2026-84969"},"products":["C++ Driver"],"published":"2026-09-03","related":[{"cvss_score":8.6,"headline":"Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver","id":"CVE-2026-81522","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":6.1,"headline":"GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C++ Driver","id":"CVE-2026-88034","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":5.9,"headline":"BSON element injection via NUL-embedded document keys in builder append","id":"CVE-2026-84966","kev_date_added":null,"published":"2026-09-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-03","vendors":["MongoDB"]},"summary":"Attackers can trigger heap over-reads or crashes in applications using the MongoDB C++ Driver by supplying large JSON inputs due to integer truncation.","url":"https://insights.sbomify.com/CVE-2026-84970/"}