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

exploitDog

redhat логотип

CVE-2026-58011

Опубликовано: 27 мар. 2026
Источник: redhat
CVSS3: 6.5
EPSS Низкий

Описание

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.

Отчет

Any applications that allow a user to submit a date to g_date_time_add_full() and later call any getter functions, such as g_date_time_get_month() or g_date_time_get_year(), with the returned GDateTime object are vulnerable to this issue. This flaw can cause an out-of-bounds read of only 2 bytes, leading to a denial of service due to logic errors that a corrupted date can trigger. Due to these reasons, this vulnerability has been rated with a moderate severity.

Меры по смягчению последствий

To mitigate this vulnerability, in applications processing user-supplied dates, implement input validation to ensure the supplied date is within the supported range before calling g_date_time_add_full() with untrusted data, specifically rejecting inputs that result in a negative or zero days field.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10mingw-glib2Affected
Red Hat Enterprise Linux 6glib2Will not fix
Red Hat Enterprise Linux 9mingw-glib2Will not fix
Red Hat Hardened Imagesglib2Not affected
Red Hat Enterprise Linux 10glib2FixedRHSA-2026:5701519.08.2026
Red Hat Enterprise Linux 10.0 Extended Update Supportglib2FixedRHSA-2026:6576709.09.2026
Red Hat Enterprise Linux 7 Extended Lifecycle Supportglib2FixedRHSA-2026:6577309.09.2026
Red Hat Enterprise Linux 8mingw-glib2FixedRHSA-2026:4951203.08.2026
Red Hat Enterprise Linux 8glib2FixedRHSA-2026:6176631.08.2026
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportglib2FixedRHSA-2026:6576209.09.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-125
https://bugzilla.redhat.com/show_bug.cgi?id=2492245glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid GDateTime

EPSS

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

6.5 Medium

CVSS3

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

CVSS3: 6.5
ubuntu
3 месяца назад

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.

CVSS3: 6.5
nvd
3 месяца назад

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.

CVSS3: 6.5
msrc
3 месяца назад

Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime

CVSS3: 6.5
debian
3 месяца назад

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can oc ...

CVSS3: 6.5
github
3 месяца назад

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.

EPSS

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

6.5 Medium

CVSS3

Уязвимость CVE-2026-58011