{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-106432 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-106432 is a low-severity vulnerability in MongoDB PHP Driver, published on 8 Oct 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-106432 and fix it if it is affected.\n\nWhat it is: CVE-2026-106432 is a low-severity vulnerability in MongoDB PHP Driver, published on 8 Oct 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-106432 in the wild and no public exploit code.\n\nAffected product: MongoDB PHP 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-106432/ (Markdown: https://insights.sbomify.com/CVE-2026-106432/index.md)","id":"CVE-2026-106432","markdown":"https://insights.sbomify.com/CVE-2026-106432/index.md","name":"CVE-2026-106432","record":{"aliases":["DEBIAN-CVE-2026-106432","UBUNTU-CVE-2026-106432"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"MongoDB PHP Driver","requires_auth":"low_privilege","summary":"Heap buffer overflow in MongoDB PHP Driver allows memory corruption or process termination via integer overflow during large string encoding.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"php_driver","vendor":"mongodb"}],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-681","name":"Incorrect Conversion between Numeric Types"}],"description":"The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.","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 buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver","id":"CVE-2026-106432","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":"Heap corruption via duplicate masterKey fields in MongoDB libmongocrypt","id":"CVE-2026-106433"},"packages":[],"prev":{"headline":"One-byte heap buffer overflow in BSON bulk document writer in MongoDB C Driver","id":"CVE-2026-106431"},"products":["PHP Driver"],"published":"2026-10-08","related":[{"cvss_score":8.6,"headline":"Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver","id":"CVE-2026-81525","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":6.9,"headline":"Heap out-of-bounds read via corrupt nested BSON in field path error message","id":"CVE-2026-84968","kev_date_added":null,"published":"2026-09-03"},{"cvss_score":6.3,"headline":"Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver","id":"CVE-2026-106436","kev_date_added":null,"published":"2026-10-08"},{"cvss_score":6,"headline":"PHP Stack Exhaustion","id":"CVE-2026-6811","kev_date_added":null,"published":"2026-05-14"}],"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-10-08","vendors":["MongoDB"]},"summary":"Heap buffer overflow in MongoDB PHP Driver allows memory corruption or process termination via integer overflow during large string encoding.","url":"https://insights.sbomify.com/CVE-2026-106432/"}