Moderate Vulnerability in mingw-glib2: Integer Overflow in g_escape_uri_string()

mingw32-glib2 Updated 26 May 2026

Summary

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

ALSA-2026:18344: Moderate: mingw-glib2 security update. Affects mingw32-glib2 versions < 2.87.0-1.el10. Fixed in 2.87.0-1.el10. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

mingw-glib2 is a core library that provides essential building blocks for applications and libraries written in C. It is part of the GLib package, which includes a robust object system, main loop implementation, and various utility functions for handling strings and data structures. This library is widely used in GNOME applications and other software that relies on C programming. The vulnerability in question arises from an integer overflow in the g_escape_uri_string() function, which can lead to potential security risks.

Vulnerability Detail

The vulnerability identified as CVE-2025-13601 is an integer overflow that occurs in the g_escape_uri_string() function of the GLib library. This flaw can be exploited by attackers to manipulate the URI strings processed by applications, potentially leading to unexpected behavior or security breaches. The ramifications of this vulnerability can be severe, as it may allow unauthorized access or execution of arbitrary code within affected applications, compromising the integrity and confidentiality of the system.

How To Fix

Minimum fixed version

2.87.0-1.el10

This is the first release that contains the fix.

sudo dnf update mingw32-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 the package is not immediately feasible, consider avoiding the use of the g_escape_uri_string() function in your applications until the patch is applied. Review your code to identify any instances where this function is used and replace it with safer alternatives if possible.

Conclusion

The mingw-glib2 library has a moderate vulnerability due to an integer overflow in the g_escape_uri_string() function. It is crucial to update to the patched version 2.87.0-1.el10 to mitigate potential security risks. For those unable to update immediately, consider workarounds and utilize tools like Vulert for ongoing monitoring.

See every vulnerability recorded for mingw32-glib2 →

Share this vulnerability

FAQ

CVE-2025-13601 is a security vulnerability in the GLib library that involves an integer overflow in the g_escape_uri_string() function.

Exploiting this vulnerability may allow attackers to manipulate URI strings, potentially leading to unauthorized access or execution of arbitrary code.

If an immediate update is not possible, avoid using the g_escape_uri_string() function and look for safer alternatives in your code.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring signup.

Related vulnerabilities

Recent vulnerabilities recorded for mingw32-glib2.

How To Fix

Minimum fixed version

2.87.0-1.el10

This is the first release that contains the fix.

sudo dnf update mingw32-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