8.1

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.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.0 (NVD)
EPSS score
2.13%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 10-09-2018
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last 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

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 score
2.13%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • libbson-xs-perl< 0.8.4-2+deb12u1
  • mongo-c-driver< 1.13.0-1
Mongodb1 product
Ubuntu1 product
  • libbson< 1.3.1-1ubuntu0.1~esm1 | < 1.9.2-1ubuntu0.1~esm2

3 vendors · 4 products

References

9 links