{"id":"UBUNTU-CVE-2018-16790","details":"_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.","modified":"2026-04-22T11:47:57.568334Z","published":"2018-09-10T05:29:00Z","related":["USN-4812-1"],"upstream":["CVE-2018-16790"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16790"},{"type":"REPORT","url":"https://jira.mongodb.org/browse/CDRIVER-2819"},{"type":"REPORT","url":"https://github.com/mongodb/mongo-c-driver/pull/537"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4812-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-16790"}],"affected":[{"package":{"name":"libbson","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libbson@1.3.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1ubuntu0.1~esm1"}]}],"versions":["1.3.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libbson-1.0-0","binary_version":"1.3.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16790.json"}},{"package":{"name":"libbson","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libbson@1.9.2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2-1ubuntu0.1~esm2"}]}],"versions":["1.8.0-1","1.8.1-1","1.9.0-1","1.9.2-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libbson-1.0-0","binary_version":"1.9.2-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16790.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}