CVE-2023-0437

MongoDB client C Driver may infinitely loop when validating certain BSON input data

Published Jan 12, 2024 CVSS 3.1 · 5.3 Medium EPSS 1.1% KEV · Not listed
Description
When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.

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
Debian DLA Debian DLA DLA-4175-1 mongo-c-driver security update
EUVD EUVD EUVD-2023-12492 When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0. When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.
Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 3, 2025, 7:27 PM
Reserved
Jan 23, 2023, 11:11 AM
Status
Modified
Published
Jan 12, 2024, 2:15 PM
Modified
Jun 17, 2026, 5:25 AM