CVE-2018-16790: libbson - Out of Bounds Read
- Cve: CVE-2018-16790
- Name: libbson - Out of Bounds Read
- 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.
- Impact: Attackers can read sensitive memory contents, potentially leading to information disclosure or further exploitation.
- Remediation: Update to the latest version of libbson where the issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Epss score: 0.02128
- Epss percentile: 0.82409
- Assignee: [email protected]
- Published at: 2018-09-10T05:29:00Z
- Age in days: 2997
- Modified at: 2026-06-17T01:44:49Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16790
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Hackerone
- Reports: 4
- Rank: 2839
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/mongodb/mongo-c-driver/commit/0d9a4d98bfdf4acd2c0138d4aaeb4e2e0934bd84 | Patch |
| https://bugzilla.redhat.com/show_bug.cgi?id=1627923#c3 | Issue Tracking, Third Party Advisory |
| https://jira.mongodb.org/browse/CDRIVER-2819 | Issue Tracking, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongodb:libbson | = 1.12.0 | no | nvd | /v1/products/mongodb/libbson |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mongodb/mongo-c-driver | commit, fix | yes | /v1/repositories/mongodb/mongo-c-driver |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 4
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts