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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB C Driver | 1.0.0 – < 1.25.0 | 1.25.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mongo-c-driver | 1.25.0-1 | — |
| Debian 13 | mongo-c-driver | 1.25.0-1 | — |
| Debian 12 | libbson-xs-perl | 0.8.4-2+deb12u1 | — |
| Debian 12 | mongo-c-driver | 1.23.1-1+deb12u1 | — |
| Debian 11 | libbson-xs-perl | 0.8.4-1+deb11u1 | DLA-4160-1 |
| Debian 11 | mongo-c-driver | 1.17.6-1+deb11u1 | DLA-4175-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mongo-c-driver | 1.25.4-r0 | — |
| Alpine v3.23 | mongo-c-driver | 1.25.4-r0 | — |
| Alpine v3.22 | mongo-c-driver | 1.25.4-r0 | — |
| Alpine v3.21 | mongo-c-driver | 1.25.4-r0 | — |
| Alpine v3.20 | mongo-c-driver | 1.25.4-r0 | — |
Advisories 3
- DLA-4175-1 mongo-c-driver - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4160-1 libbson-xs-perl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0099 MongoDB: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · May 20, 2025