Vulnerabilities · 2018 · Mongodb
CVE-2018-16790
Mongodb Libbson vulnerability
_bson_iter_next_internal in bson-iter.c in libbson 1.12.0, as used in MongoDB mongo-c-driver and other products, has a heap-based buffer over-read via a crafted bson buffer.
Affected products
Libbson. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mongodb Libbson runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mongodb/mongo-c-driver/commit/0d9a4d98bfdf4acd2c0138d4aaeb4e2e0934bd84 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1627923#c3 · Third Party Advisory
- jira.mongodb.org/browse/CDRIVER-2819 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/05/msg00012.html
- nvd.nist.gov/vuln/detail/CVE-2018-16790
- cve.org/CVERecord?id=CVE-2018-16790
More vulnerabilities in Mongodb products
CVE-2025-14847CVE-2025-14345CVE-2025-13644CVE-2025-13643CVE-2025-13507CVE-2025-12893CVE-2025-12657CVE-2025-12119All 113
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.