CVE-2025-14087 Glib: glib: buffer underflow in gvariant parser leads to heap corruption

Medium 5.6 Published Updated

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:7All versions0:2.56.1-12.el7_9
glib2-debuginfo Red Hat:rhel_els:7All versions0:2.56.1-12.el7_9
glib2-devel Red Hat:rhel_els:7All versions0:2.56.1-12.el7_9
glib2-doc Red Hat:rhel_els:7All versions0:2.56.1-12.el7_9
glib2-fam Red Hat:rhel_els:7All versions0:2.56.1-12.el7_9
glib2-static Red Hat:rhel_els:7All versions0:2.56.1-12.el7_9
glib2-tests Red Hat:rhel_els:7All versions0: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.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-72283, AZL-72296, BELL-CVE-2025-14087, CLSA-2026-1771412328, CLSA-2026-1771412927, CLSA-2026-1771579997 and 15 more.

Is CVE-2025-14087 in your software?

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

Check your SBOMs for free