CVE-2025-14512 Glib: integer overflow in glib gio attribute escaping causes heap buffer overflow
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.
Other vulnerabilities in Redhat Enterprise Linux
- CVE-2020-35457 Integer overflow in n/a
- CVE-2009-3289 Privilege escalation in n/a
- CVE-2025-13601 Glib: integer overflow in in g_escape_uri_string()
- CVE-2026-58016 Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
- CVE-2025-4056 Glib: glib crash after long command line
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.