CVE-2017-14227 Memory corruption in n/a
Remote attackers can cause a denial of service via heap-based buffer over-read in libbson due to incorrect length calculation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-14227?
CVE-2017-14227 is a high-severity memory corruption vulnerability in Mongodb Mongodb, published on 9 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.
Weakness: CWE-125
Which versions are affected by CVE-2017-14227?
It affects 1 product.
Products include Mongodb Mongodb.
How do I fix CVE-2017-14227?
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-2017-14227 being exploited?
There is no known exploitation of CVE-2017-14227 in the wild and no public exploit code.
Other vulnerabilities in Mongodb Mongodb
- CVE-2025-14847 MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency
- CVE-2026-82067 Auth bypass in MongoDB Server
- CVE-2026-13072 MongoDB Improper Input Validation in Compute Mode External Data Processing Leading to Memory Corruption
- CVE-2017-15535 Denial of service in n/a
- CVE-2026-18691 Improper Authentication in MongoDB Intra-Cluster Connections Allows Credential Exposure
Sources
Also known as DEBIAN-CVE-2017-14227, GHSA-98vg-qmpv-23vr, UBUNTU-CVE-2017-14227.