
CVE catalog
CVE-2018-16790
libbson-xs-perl: CVE-2018-16790
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.13% · Oct 25, 2026
_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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mongo-c-driver | sid | 2.5.7-1 | fixed |
| Debian | mongo-c-driver | forky | 2.5.6-1 | fixed |
| Debian | mongo-c-driver | trixie | 1.30.4-1+deb13u3 | fixed |
| Debian | mongo-c-driver | bookworm | 1.23.1-1+deb12u3 | fixed |
| Debian | libbson-xs-perl | bookworm | 0.8.4-2+deb12u1 | fixed |
| Ubuntu | libbson | pro | 1.8.0-1 | vulnerable |
| Ubuntu | libbson | pro | 1.8.1-1 | vulnerable |
| Ubuntu | libbson | pro | 1.9.0-1 | vulnerable |
| Ubuntu | libbson | pro | 1.9.2-1 | vulnerable |
| Ubuntu | libbson | pro | 1.9.2-1ubuntu0.1~esm2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mongo-c-driver | source | sid | 1.13.0-1 | not yet assigned | Not reported | [913963] |
| Debian | mongo-c-driver | source | forky | 1.13.0-1 | not yet assigned | Not reported | [913963] |
| Debian | mongo-c-driver | source | trixie | 1.13.0-1 | not yet assigned | Not reported | [913963] |
| Debian | mongo-c-driver | source | bookworm | 1.13.0-1 | not yet assigned | Not reported | [913963] |
| Debian | libbson-xs-perl | source | bookworm | 0.8.4-2+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libbson | deb | pro | 1.9.2-1ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2018-16790 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libbson-1.0-0]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
- [libbson-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
- [libbson-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
- [libbson-xs-perl]Fixed
Details (2)
0.8.4-2+deb12u1· amd64 · bookwormFixed · Fixed:
0.8.4-2+deb12u1dsa · libbson-xs-perl · debian · bookworm; dsa · libbson-xs-perl · debian · 12
0.8.4-2+deb12u1· arm64 · bookwormFixed · Fixed:
0.8.4-2+deb12u1dsa · libbson-xs-perl · debian · bookworm; dsa · libbson-xs-perl · debian · 12
- [libmongoc-1.0-0]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
- [libmongoc-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
- [libmongoc-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · bookworm; dsa · mongo-c-driver · debian · 12
[Debian 13 (Trixie)]
- [libbson-1.0-0t64]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
- [libbson-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
- [libbson-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
- [libmongoc-1.0-0t64]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
- [libmongoc-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
- [libmongoc-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.13.0-1dsa · mongo-c-driver · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-16790]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-16790]
- [https://security-tracker.debian.org/tracker/CVE-2018-16790]
- [https://wid.cert-bund.de/.well-known/csaf/white/2018/wid-sec-w-2025-0993.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]