CVE-2026-1484

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

Published Jan 27, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw was found in the GLib Base64 encoding routine when processing very large input data. Because of an integer overflow during length calculation, the library can miscalculate buffer boundaries, causing memory writes outside the allocated buffer. This results in undefined behavior such as crashes or unpredictable execution, which could potentially allow an attacker to corrupt memory or, if sufficient control is obtained, execute arbitrary code. The weakness corresponds to out-of-bounds write (CWE-124 / CWE-787) and integer overflow (CWE-190).

Affected Systems

Affected systems are Red Hat Enterprise Linux releases 6 through 10. The vulnerability exists in the GLib package bundled with those operating systems, which is widely used by many applications and system components. No specific product versions are listed beyond the OS families, but any installation of GLib on those RHEL releases is potentially vulnerable.

Risk and Exploitability

The CVSS score of 4.2 indicates a low severity impact, and the EPSS score of less than 1 % shows a very low current exploitation probability. The issue has not been listed in the CISA Known Exploited Vulnerabilities catalog. The likely attack vector is feeding large or malformed Base64 input to any application that uses GLib’s g_base64_encode routine. An attacker would need to supply such data, and the vulnerability would manifest as a crash or corruption; no public exploit demonstrates attacker control, so the risk is limited but a memory corruption flaw remains. Until an update is released, systems should consider hardening measures and input validation.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Obtain and apply the official patch or upgrade to GLib when Red Hat releases it for RHEL 6‑10.
  • Implement application‑level checks that reject Base64 input exceeding a safe size to prevent an overflow.
  • Harden the runtime environment by enabling address‑space layout randomization, stack canaries, and enforcing SELinux or equivalent mandatory access control to limit the impact of memory corruption.

Generated by OpenCVE AI on April 16, 2026 at 07:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4491-1 glib2.0 security update
Ubuntu USN Ubuntu USN USN-8017-1 GLib vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat openshift Ai
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Glib: integer overflow leading to buffer underflow and out-of-bounds write in glib g_base64_encode()
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-787
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')

  • CWE-190

    Integer Overflow or Wraparound

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 10:21 AM
Reserved
Jan 27, 2026, 11:58 AM
Status
Deferred
Published
Jan 27, 2026, 2:15 PM
Modified
Nov 24, 2026, 11:17 AM
Severity
Moderate
Public date
Jan 27, 2026, 12:00 AM