CVE-2025-14087 Glib: glib: buffer underflow in gvariant parser leads to heap corruption
Remote attackers can trigger heap corruption via malicious input in the GVariant parser, potentially causing denial of service or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-14087?
CVE-2025-14087 is a medium-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 10 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in GLib (Gnome Lib). This vulnerability allows a remote attacker to cause heap corruption, leading to a denial of service or potential code execution via a buffer-underflow in the GVariant parser when processing maliciously crafted input strings.
Weakness: CWE-190
Which versions are affected by CVE-2025-14087?
It affects 2 products.
Linux distribution packages (7)
glib2 Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
glib2-debuginfo Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
glib2-devel Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
glib2-doc Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
glib2-fam Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
glib2-static Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
glib2-tests Red Hat:rhel_els:7 | All versions | 0:2.56.1-12.el7_9 |
Products include Gnome Glib, Redhat Enterprise Linux.
How do I fix CVE-2025-14087?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-14087 being exploited?
There is no known exploitation of CVE-2025-14087 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-72283, AZL-72296, BELL-CVE-2025-14087, CLSA-2026-1771412328, CLSA-2026-1771412927, CLSA-2026-1771579997 and 15 more.