Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-1484 EUVD-2026-4825GHSA-r2rp-r5cj-6c6x

Glib: integer overflow leading to buffer underflow and out-of-bounds write in glib g_base64_encode()

Published Jan 27, 2026 · Updated Nov 6, 2026 · Assigned by redhat

Description

A flaw was found in the GLib Base64 encoding routine when processing very large input data. Due to incorrect use of integer types during length calculation, the library may miscalculate buffer boundaries. This can cause memory writes outside the allocated buffer. Applications that process untrusted or extremely large Base64 input using GLib may crash or behave unpredictably.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —

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.

ReleasePackageFixed inAdvisory
Debian 14 glib2.0 2.86.3-5 —
Debian 13 glib2.0 2.84.4-3~deb13u3 —
Debian 12 glib2.0 2.74.6-2+deb12u9 —
Debian 11 glib2.0 2.66.8-1+deb11u8 DLA-4491-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS glib2.0 2.87.2-2 —
Ubuntu 25.10 glib2.0 2.86.0-2ubuntu0.3 USN-8017-1
Ubuntu 24.04 LTS glib2.0 2.80.0-6ubuntu3.8 USN-8017-1
Ubuntu 22.04 LTS glib2.0 2.72.4-0ubuntu2.9 USN-8017-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glib2.0 No fix yet —
Ubuntu Pro 18.04 LTS glib2.0 No fix yet —
Ubuntu Pro 16.04 LTS glib2.0 No fix yet —
Ubuntu Pro 14.04 LTS glib2.0 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 glib2 2.78.6-150600.4.35.1 SUSE-SU-2026:0373-1
SLES 15 SP6 glib2 2.78.6-150600.4.35.1 SUSE-SU-2026:0373-1
SLES 12 SP5 glib2 2.48.2-12.58.1 SUSE-SU-2026:0372-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 glib2 +1 2.84.4-160000.2.1 SUSE-SU-2026:20221-1
SLES for SAP 15 SP6 glib2 2.78.6-150600.4.35.1 SUSE-SU-2026:0373-1
SLES 16.0 glib2 +1 2.84.4-160000.2.1 SUSE-SU-2026:20221-1
SLE Micro 6.2 glib2 2.84.4-160000.2.1 SUSE-SU-2026:20210-1
SLE Micro 6.1 glib2 2.78.6-slfo.1.1_6.1 SUSE-SU-2026:20493-1
SLE Micro 6.0 glib2 2.76.2-12.1 SUSE-SU-2026:20446-1
SLE Micro 5.2 glib2 2.62.6-150200.3.42.1 SUSE-SU-2026:0355-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glib2 2.86.3-3.1 openSUSE-SU-2026:10111-1
openSUSE Leap 16.0 glib2 +1 2.84.4-160000.2.1 openSUSE-SU-2026:20150-1
openSUSE Leap 15.6 glib2 +1 2.78.6-150600.4.35.1 SUSE-SU-2026:0373-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glib 2.78.6-7 —
Azure Linux 2 (CBL-Mariner) glib No fix yet —

Advisories 14

References