CVE-2018-16790: mongodb libbson Out-of-bounds Read
Vulnerability summary
CVE-2018-16790 is a high (CVSS 8.1) Out-of-bounds Read vulnerability in mongodb libbson. EPSS estimates a 2.13% chance of exploitation in the next 30 days, higher than 82.5% of scored vulnerabilities.
Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 10-09-2018PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS trend
Probability
2.13%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.13% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libbson-xs-perl< 0.8.4-2+deb12u1
- mongo-c-driver< 1.13.0-1
Mongodb1 product
- libbson1.12.0
Ubuntu1 product
- libbson< 1.3.1-1ubuntu0.1~esm1 | < 1.9.2-1ubuntu0.1~esm2
3 vendors · 4 products
References
9 links- github.com/mongodb/mongo-c-driver/commit/0d9a4d98bfdf4acd2c0138d4aaeb4e2e0934bd84X Refsource CONFIRMPatch