{"answers":{"affected":"2 open source packages ship an affected version, including mongodb/mongodb-extension. It affects 2 products.","exploited":"There is no known exploitation of CVE-2025-12119 in the wild and no public exploit code.","fix":"Upgrade mongodb/mongodb-extension to 1.21.2 or later.","what":"CVE-2025-12119 is a medium-severity memory corruption vulnerability in MongoDB C Driver, published on 18 Nov 2025. 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-2025-12119 and fix it if it is affected.\n\nWhat it is: CVE-2025-12119 is a medium-severity memory corruption vulnerability in MongoDB C Driver, published on 18 Nov 2025. 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-2025-12119 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mongodb/mongodb-extension (Packagist): affected all versions; fixed in 1.21.2\n- mongodb/mongodb-extension (Packagist): affected all versions; fixed in 1.21.2\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-2025-12119/ (Markdown: https://insights.sbomify.com/CVE-2025-12119/index.md)","id":"CVE-2025-12119","markdown":"https://insights.sbomify.com/CVE-2025-12119/index.md","name":"CVE-2025-12119","record":{"aliases":["DEBIAN-CVE-2025-12119","DLA-4438-1","GHSA-mwcc-7vpp-xmv9","JLSEC-2026-181","OESA-2025-2821","OESA-2025-2822","OESA-2025-2823","OESA-2025-2824","OESA-2025-2890","UBUNTU-CVE-2025-12119"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MongoDB C Driver","requires_auth":"low_privilege","summary":"An attacker can cause a denial of service by passing large options to bulk write operations in the MongoDB C Driver.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"c_driver","vendor":"mongodb"},{"product":"php_driver","vendor":"mongodb"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-825","name":"Expired Pointer Dereference"}],"description":"A mongoc_bulk_operation_t may read invalid memory if large options are passed.","ecosystems":["Packagist"],"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":"Bulk write with options may read invalid memory","id":"CVE-2025-12119","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"CVE-2025-12120","id":"CVE-2025-12120"},"packages":[{"ecosystem":"Packagist","fixed":["1.21.2"],"introduced":["0"],"last_affected":[],"package":"mongodb/mongodb-extension","purl":null,"source":"GHSA-mwcc-7vpp-xmv9"},{"ecosystem":"Packagist","fixed":["1.21.2"],"introduced":["0"],"last_affected":[],"package":"mongodb/mongodb-extension","purl":"pkg:composer/mongodb/mongodb-extension","source":"GHSA-mwcc-7vpp-xmv9"}],"prev":{"headline":"Schema Scalpel \u003c= 1.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Title in JSON-LD Schema","id":"CVE-2025-12118"},"products":["C Driver","PHP Driver"],"published":"2025-11-18","related":[{"cvss_score":9.2,"headline":"Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream","id":"CVE-2026-93393","kev_date_added":null,"published":"2026-09-17"},{"cvss_score":8.6,"headline":"MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow","id":"CVE-2026-6691","kev_date_added":null,"published":"2026-05-06"},{"cvss_score":8.2,"headline":"Heap corruption via OCSP request double free from crafted multi-URL certificate in TLS client","id":"CVE-2026-84964","kev_date_added":null,"published":"2026-09-03"},{"cvss_score":7.3,"headline":"Accessing Untrusted Directory May Allow Local Privilege Escalation","id":"CVE-2024-7553","kev_date_added":null,"published":"2024-08-07"},{"cvss_score":6.9,"headline":"Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()","id":"CVE-2026-93395","kev_date_added":null,"published":"2026-09-17"},{"cvss_score":6.3,"headline":"libmongoc SCRAM client nonce-validation bypass","id":"CVE-2026-93394","kev_date_added":null,"published":"2026-09-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-01-14","vendors":["MongoDB"]},"summary":"An attacker can cause a denial of service by passing large options to bulk write operations in the MongoDB C Driver.","url":"https://insights.sbomify.com/CVE-2025-12119/"}