---
id: CVE-2026-0988
title: >-
  Glib: glib: denial of service via integer overflow in
  g_buffered_input_stream_peek()
summary: >-
  A flaw was found in glib. Missing validation of offset and count parameters in
  the g_buffered_input_stream_peek() function can lead to an integer overflow
  during length calculation. When specially crafted values are provided, this
  overfl…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-190
vendor: Red Hat
product: glib2-main
affected:
  - glib2-main (all versions)
  - bootc (all versions)
  - glib2 (all versions)
  - glycin-loaders (all versions)
  - loupe (all versions)
  - mingw-glib2 (all versions)
  - papers (all versions)
  - rpm-ostree (all versions)
  - glib2 (all versions)
  - glib2 (all versions)
  - glib2 (all versions)
  - librsvg2 (all versions)
  - mingw-glib2 (all versions)
  - bootc (all versions)
  - glib2 (all versions)
  - librsvg2 (all versions)
  - mingw-glib2 (all versions)
  - rhoai/odh-ai-gateway-operator-rhel9
  - rhoai/odh-core-bff-rhel9
  - rhoai/odh-dashboard-operator-rhel9
  - rhoai/odh-dashboard-rhel9
  - rhoai/odh-data-science-pipelines-operator-controller-rhel9
  - rhoai/odh-kf-notebook-controller-rhel9
  - rhoai/odh-kserve-controller-rhel9
  - rhoai/odh-kserve-llmisvc-controller-rhel9
  - rhoai/odh-kserve-module-operator-rhel9
  - rhoai/odh-kuberay-operator-controller-rhel9
  - rhoai/odh-kube-rbac-proxy-rhel9
  - rhoai/odh-llama-stack-k8s-operator-rhel9
  - rhoai/odh-maas-controller-rhel9
  - rhoai/odh-mlflow-operator-rhel9
  - rhoai/odh-mlflow-rhel9
  - rhoai/odh-mod-arch-agent-ops-rhel9
  - rhoai/odh-mod-arch-automl-rhel9
  - rhoai/odh-mod-arch-autorag-rhel9
  - rhoai/odh-mod-arch-eval-hub-rhel9
  - rhoai/odh-mod-arch-gen-ai-rhel9
  - rhoai/odh-mod-arch-maas-rhel9
  - rhoai/odh-mod-arch-mlflow-rhel9
  - rhoai/odh-mod-arch-model-registry-rhel9
  - rhoai/odh-model-controller-rhel9
  - rhoai/odh-model-registry-operator-rhel9
  - rhoai/odh-model-serving-api-rhel9
  - rhoai/odh-notebook-controller-rhel9
  - rhoai/odh-ogx-k8s-operator-rhel9
  - rhoai/odh-ogx-module-operator-rhel9
  - rhoai/odh-training-operator-rhel9
  - rhoai/odh-trustyai-service-operator-rhel9
  - rhoai/odh-workbenches-operator-rhel9
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-01-21T14:25:32.217763Z'
published: '2026-01-21'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T17:49:11.926Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-0988'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:7461'
    label: 'RHSA-2026:7461'
  - url: 'https://access.redhat.com/security/cve/CVE-2026-0988'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2429886'
    label: RHBZ#2429886
  - url: 'https://gitlab.gnome.org/GNOME/glib/-/issues/3851'
tags:
  - cve.org
epss: 0.00434
epssPercentile: 0.3795
ingestedAt: '2026-11-06T18:00:12.502Z'
---

## Overview

A flaw was found in glib. Missing validation of offset and count parameters in the g_buffered_input_stream_peek() function can lead to an integer overflow during length calculation. When specially crafted values are provided, this overflow results in an incorrect size being passed to memcpy(), triggering a buffer overflow. This can cause application crashes, leading to a Denial of Service (DoS).

## Affected

- `glib2-main (all versions)`
- `bootc (all versions)`
- `glib2 (all versions)`
- `glycin-loaders (all versions)`
- `loupe (all versions)`
- `mingw-glib2 (all versions)`
- `papers (all versions)`
- `rpm-ostree (all versions)`
- `glib2 (all versions)`
- `glib2 (all versions)`
- `glib2 (all versions)`
- `librsvg2 (all versions)`
- `mingw-glib2 (all versions)`
- `bootc (all versions)`
- `glib2 (all versions)`
- `librsvg2 (all versions)`
- `mingw-glib2 (all versions)`
- `rhoai/odh-ai-gateway-operator-rhel9`
- `rhoai/odh-core-bff-rhel9`
- `rhoai/odh-dashboard-operator-rhel9`
- `rhoai/odh-dashboard-rhel9`
- `rhoai/odh-data-science-pipelines-operator-controller-rhel9`
- `rhoai/odh-kf-notebook-controller-rhel9`
- `rhoai/odh-kserve-controller-rhel9`
- `rhoai/odh-kserve-llmisvc-controller-rhel9`
- `rhoai/odh-kserve-module-operator-rhel9`
- `rhoai/odh-kuberay-operator-controller-rhel9`
- `rhoai/odh-kube-rbac-proxy-rhel9`
- `rhoai/odh-llama-stack-k8s-operator-rhel9`
- `rhoai/odh-maas-controller-rhel9`
- `rhoai/odh-mlflow-operator-rhel9`
- `rhoai/odh-mlflow-rhel9`
- `rhoai/odh-mod-arch-agent-ops-rhel9`
- `rhoai/odh-mod-arch-automl-rhel9`
- `rhoai/odh-mod-arch-autorag-rhel9`
- `rhoai/odh-mod-arch-eval-hub-rhel9`
- `rhoai/odh-mod-arch-gen-ai-rhel9`
- `rhoai/odh-mod-arch-maas-rhel9`
- `rhoai/odh-mod-arch-mlflow-rhel9`
- `rhoai/odh-mod-arch-model-registry-rhel9`
- `rhoai/odh-model-controller-rhel9`
- `rhoai/odh-model-registry-operator-rhel9`
- `rhoai/odh-model-serving-api-rhel9`
- `rhoai/odh-notebook-controller-rhel9`
- `rhoai/odh-ogx-k8s-operator-rhel9`
- `rhoai/odh-ogx-module-operator-rhel9`
- `rhoai/odh-training-operator-rhel9`
- `rhoai/odh-trustyai-service-operator-rhel9`
- `rhoai/odh-workbenches-operator-rhel9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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.
