CVE-2018-16790
_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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.13%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
_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.
- CVSS 3.0
- 8.1 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- EPSS
- 2.13% probability · 82th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-125
- Affected
- mongodb/libbson
- Source
- cve@mitre.org
EPSS 2.1% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1627923#c3Issue Tracking, Third Party Advisory
- https://github.com/mongodb/mongo-c-driver/commit/0d9a4d98bfdf4acd2c0138d4aaeb4e2e0934bd84Patch
- https://jira.mongodb.org/browse/CDRIVER-2819Issue Tracking, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1627923#c3Issue Tracking, Third Party Advisory
- https://github.com/mongodb/mongo-c-driver/commit/0d9a4d98bfdf4acd2c0138d4aaeb4e2e0934bd84Patch
- https://jira.mongodb.org/browse/CDRIVER-2819Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.