CVE-2026-0988Glib: glib: denial of service via integer overflow in g_buffered_input_stream_peek()
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).
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | glib2.0 | Fixed | 2.87.2-2 | UBUNTU-CVE-2026-0988 |
| Ubuntu 25.10 | glib2.0 | Fixed | 2.86.0-2ubuntu0.2 | UBUNTU-CVE-2026-0988 |
| Ubuntu 24.04 | glib2.0 | Fixed | 2.80.0-6ubuntu3.7 | UBUNTU-CVE-2026-0988 |
| Ubuntu 22.04 | glib2.0 | Fixed | 2.72.4-0ubuntu2.8 | UBUNTU-CVE-2026-0988 |
| Ubuntu 20.04 | glib2.0 | Fix pending | UBUNTU-CVE-2026-0988 | |
| Ubuntu 18.04 | glib2.0 | Fix pending | UBUNTU-CVE-2026-0988 | |
| Ubuntu 16.04 | glib2.0 | Fix pending | UBUNTU-CVE-2026-0988 | |
| Ubuntu 14.04 | glib2.0 | Fix pending | UBUNTU-CVE-2026-0988 | |
| Debian 14 | glib2.0 | Fixed | 2.86.3-5 | DEBIAN-CVE-2026-0988 |
| Debian 13 | glib2.0 | Fixed | 2.84.4-3~deb13u3 | DEBIAN-CVE-2026-0988 |
| Debian 12 | glib2.0 | Fixed | 2.74.6-2+deb12u9 | DEBIAN-CVE-2026-0988 |
| Red Hat Enterprise Linux 10 | bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glib2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glib2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glib2-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glycin-loaders | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | loupe | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mingw-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mingw32-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mingw32-glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mingw64-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mingw64-glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-nautilus | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-previewer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-thumbnailer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rpm-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rpm-ostree-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | system-reinstall-bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | glib2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | glib2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | glib2-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librsvg2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librsvg2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librsvg2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mingw-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mingw32-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mingw32-glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mingw64-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mingw64-glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | system-reinstall-bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | glib2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | glib2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | glib2-fam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | glib2-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | librsvg2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | librsvg2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | librsvg2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | glib2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | glib2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | glib2-fam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | glib2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | glib2-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | glib2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | glib2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | glib2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | glib2-static | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
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.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:7461 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:7461
- https://access.redhat.com/security/cve/CVE-2026-0988
- https://bugzilla.redhat.com/show_bug.cgi?id=2429886
- https://gitlab.gnome.org/GNOME/glib/-/issues/3851
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.