Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-jm9m-v7jc-m4j8

Опубликовано: 17 сент. 2026
Источник: github
Github: Не прошло ревью
CVSS4: 6.9
CVSS3: 5.3

Описание

A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.

A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.

EPSS

Процентиль: 35%
0.00402
Низкий

6.9 Medium

CVSS4

5.3 Medium

CVSS3

Дефекты

CWE-191

Связанные уязвимости

CVSS3: 5.3
ubuntu
около 2 месяцев назад

A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.

CVSS3: 5.3
nvd
около 2 месяцев назад

A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.

CVSS3: 5.3
debian
около 2 месяцев назад

A missing lower-bound validation in the bson_new_from_buffer() functio ...

CVSS3: 5.3
redos
4 дня назад

Множественные уязвимости mongo-c-driver

CVSS3: 5.3
redos
4 дня назад

Множественные уязвимости mongo-c-driver

EPSS

Процентиль: 35%
0.00402
Низкий

6.9 Medium

CVSS4

5.3 Medium

CVSS3

Дефекты

CWE-191