Description
GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented
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 | glib2.0 | 2.66.0-1 | — |
| Debian 13 | glib2.0 | 2.66.0-1 | — |
| Debian 12 | glib2.0 | 2.66.0-1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | glib2 +5 | 2.56.1-9.amzn2.0.8 | ALAS2-2024-2519 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | glib | 2.60.1-5 | — |
Advisories 1
- ALAS2-2024-2519 Important: glib2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 15, 2024