CVE-2017-14227

libbson: Heap based buffer over read in the bson_utf8_validate function

Published Sep 9, 2017 CVSS 3.0 · 7.5 High EPSS 5.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4160-1 libbson-xs-perl security update
EUVD EUVD EUVD-2017-5737 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.
Ubuntu USN Ubuntu USN USN-4812-1 libbson vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 3, 2025, 7:25 PM
Reserved
Sep 9, 2017, 12:00 AM
Status
Modified
Published
Sep 9, 2017, 8:29 AM
Modified
Jun 17, 2026, 1:05 AM
Severity
Low
Public date
Sep 7, 2017, 12:00 AM