CVE-2026-1485

Glib: glib: local denial of service via buffer underflow in content type parsing

Published Jan 27, 2026 CVSS 3.1 · 2.8 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in Glib's content type parsing logic. This buffer underflow vulnerability occurs because the length of a header line is stored in a signed integer, which can lead to integer wraparound for very large inputs. This results in pointer underflow and out-of-bounds memory access. Exploitation requires a local user to install or process a specially crafted treemagic file, which can lead to local denial of service or application instability.

Analysis

AI-generated

Technical impact

The vulnerability is a buffer underflow in glib's content type parsing logic caused by storing a header line length in a signed integer, which allows integer wraparound for very large inputs. The resulting pointer underflow leads to an out‑of‑bounds memory read that can crash the application or cause instability. The flaw is classified as an integer underflow (CWE‑124, CWE‑125) and a buffer overflow (CWE‑787). The impact is local denial of service or application instability when a local user processes a specially crafted treemagic file.

Affected Systems

This flaw affects Red Hat Enterprise Linux releases 6, 7, 8, 9, and 10, as all these distributions ship a vulnerable version of the glib library. No specific glib version range is provided in the advisory, so any RHEL system that has not applied the latest glib update may be exposed.

Risk and Exploitability

The CVSS score is 2.8, indicating moderate severity. EPSS is reported as less than 1%, meaning exploitation attempts are expected to be rare. The vulnerability is not listed in CISA’s KEV catalog. Because exploitation requires a local user to install or run a treemagic file, the likelihood of abuse is limited to environments where uncontrolled local access is possible. In most production setups, the risk is low, but any host that allows local untrusted users to create arbitrary files should be considered vulnerable.

Remediation

Vendor Workaround

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


OpenCVE Recommended Actions

  • Update the glib package to the latest version provided by the distribution to eliminate the vulnerable code.
  • Upgrade to the most recent Red Hat Enterprise Linux minor release that includes the glib fix, ensuring all security updates are applied.
  • Restrict permissions on the filesystem so that local users cannot create or modify treemagic files that may be processed by the glib library.

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
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:/a:redhat:openshift_ai
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat openshift Ai
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 Glib's content type parsing logic. This buffer underflow vulnerability occurs because the length of a header line is stored in a signed integer, which can lead to integer wraparound for very large inputs. This results in pointer underflow and out-of-bounds memory access. Exploitation requires a local user to install or process a specially crafted treemagic file, which can lead to local denial of service or application instability.
Title Glib: glib: local denial of service via buffer underflow in content type parsing
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
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': 2.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 3:21 PM
Reserved
Jan 27, 2026, 12:56 PM
Status
Deferred
Published
Jan 27, 2026, 2:15 PM
Modified
Nov 25, 2026, 4:17 PM
Severity
Low
Public date
Jan 27, 2026, 12:00 AM