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:15953: Moderate: glib2 security update. Affects glib2 versions < 2.56.4-169.el8_10. Fixed in 2.56.4-169.el8_10. 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 core application building blocks for C programming, widely used in GNOME applications. It includes an object system, main loop implementation, and various utility functions for strings and data structures. The glib2 package is essential for developers working with GNOME and other applications that rely on GLib for functionality.

Vulnerability Detail

The glib2 package has been identified with two significant vulnerabilities: a buffer underflow in the GVariant parser that can lead to heap corruption (CVE-2025-14087) and an integer overflow in GLib GIO attribute escaping that causes a heap buffer overflow (CVE-2025-14512). These vulnerabilities can potentially allow attackers to exploit the memory management of applications using GLib, leading to crashes or arbitrary code execution.

How To Fix

Minimum fixed version

2.56.4-169.el8_10

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, if updating is not immediately possible, consider limiting the use of applications that depend on the vulnerable versions of glib2 until the update can be applied. Additionally, review application configurations to minimize exposure to potential exploits.

Conclusion

The glib2 package has critical vulnerabilities that can lead to severe security risks. It is crucial for users and developers to update to the latest patched version to safeguard their applications. Regular monitoring of dependencies using tools like Vulert can help maintain security in open-source projects.

See every vulnerability recorded for glib2 →

Share this vulnerability

FAQ

The vulnerabilities can lead to heap corruption and buffer overflows, which may allow attackers to execute arbitrary code or crash applications.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by the vulnerabilities without requiring any signup.

If an immediate update is not feasible, consider limiting the use of applications that rely on the vulnerable versions until you can apply the patch.

Versions prior to 2.56.4-169.el8_10 are affected by the vulnerabilities. Ensure to update to this version or later.

For detailed information, refer to the CVE pages: CVE-2025-14087 and CVE-2025-14512.

Related vulnerabilities

Recent vulnerabilities recorded for glib2.

How To Fix

Minimum fixed version

2.56.4-169.el8_10

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