CVE-2018-16790: mongodb libbson Out-of-bounds Read
CVSS: 8.1v3.0HighModified
AliasesUBUNTU-CVE-2018-16790DEBIAN-CVE-2018-16790
Published 10-09-2018Last modified 03-11-2025
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 81.6% of scored vulnerabilities.
CVSS score
8.1/10
010
High · v3.0 (NVD)EPSS score
2.13%
0%100%
Low · -0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionsHigh 8.1Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HSourcesAll 3 agree
- 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
Medium 5.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:N/A:PSourcesSingle source
EPSS trend
Probability
2.13%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
-0.01 pp
From 2.14% on 18-09-2026
18-09-202618-10-2026
EPSS score2.13%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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