CVE-2025-14512 Glib: integer overflow in glib gio attribute escaping causes heap buffer overflow

Medium 6.5 Published Updated

An integer overflow in GLib's GIO attribute escaping allows attackers to cause a heap buffer overflow and denial of service via malicious file attributes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-14512?

CVE-2025-14512 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 11 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A flaw was found in glib. This vulnerability allows a heap buffer overflow and denial-of-service (DoS) via an integer overflow in GLib's GIO (GLib Input/Output) escape_byte_string() function when processing malicious file or remote filesystem attribute values.

Weakness: CWE-190

Which versions are affected by CVE-2025-14512?

It affects 3 products.

Products include Gnome Glib, Redhat Enterprise Linux, Redhat Openshift.

How do I fix CVE-2025-14512?

Apply the vendor's patch.

Is CVE-2025-14512 being exploited?

There is no known exploitation of CVE-2025-14512 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-72286, AZL-72299, BELL-CVE-2025-14512, DEBIAN-CVE-2025-14512, ECHO-25ea-0dde-e966, GHSA-2p5v-p767-wqv5 and 3 more.

Is CVE-2025-14512 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free