Moderate Security Vulnerability in glib2 Package: Buffer Underflow and Integer Overflow Issues

glib2 Updated 11 May 2026

Summary

11/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:15971: Moderate: glib2 security update. Affects glib2 versions < 2.68.4-18.el9_7.2. Fixed in 2.68.4-18.el9_7.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

GLib is a fundamental library that provides essential building blocks for applications and libraries written in C. It serves as the core object system for GNOME, implements the main loop, and offers a wide array of utility functions for strings and data structures. The glib2 package is crucial for many applications, making its security integrity vital for overall system stability and safety.

Vulnerability Detail

The glib2 package has been identified to contain two significant vulnerabilities. The first, a buffer underflow in the GVariant parser, can lead to heap corruption, potentially allowing an attacker to manipulate memory and execute arbitrary code. The second vulnerability is an integer overflow in GLib GIO attribute escaping, which can result in a heap buffer overflow, further compromising system security. These vulnerabilities stem from improper handling of data within the library, making it susceptible to exploitation.

How To Fix

Minimum fixed version

2.68.4-18.el9_7.2

This is the first release that contains the fix.

sudo dnf update glib2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can limit the use of the affected functionalities within the glib2 package until the update is applied. However, the most effective solution is to update to the patched version as soon as possible.

Conclusion

The glib2 package has critical vulnerabilities that could lead to severe security risks if not addressed. It is crucial for users to update to the latest patched version to ensure the safety and integrity of their systems. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for glib2 →

Share this vulnerability

FAQ

GLib is a low-level core library that forms the foundation for libraries and applications written in C, providing essential data structures and utility functions.

The vulnerabilities include a buffer underflow in the GVariant parser leading to heap corruption and an integer overflow in GLib GIO attribute escaping causing a heap buffer overflow.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

If immediate updates are not possible, consider limiting the use of the affected functionalities as a temporary workaround until the patch can be applied.

For more details, refer to the CVE pages associated with the vulnerabilities: CVE-2025-14087 and CVE-2025-14512.

Related vulnerabilities

Recent vulnerabilities recorded for glib2.

How To Fix

Minimum fixed version

2.68.4-18.el9_7.2

This is the first release that contains the fix.

sudo dnf update glib2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback