CVE-2018-16790 Memory corruption in n/a

High 8.1 Published Updated

A heap-based buffer over-read in libbson allows attackers to cause denial of service or read sensitive memory via crafted BSON data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-16790?

CVE-2018-16790 is a high-severity memory corruption vulnerability in n/a, published on 10 Sep 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2018-16790?

It affects 1 product.

Products include Mongodb Libbson.

How do I fix CVE-2018-16790?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-16790 being exploited?

There is no known exploitation of CVE-2018-16790 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-16790, GHSA-vmg6-94hc-5vqp, UBUNTU-CVE-2018-16790.

Is CVE-2018-16790 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free