CVE-2025-14087
glib: GLib: Buffer underflow in GVariant parser leads to heap corruption
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Julia, Photon OS. Rated lower by Amazon (high), Oracle (high), Red Hat (medium), AlmaLinux (medium), Azure Linux (medium), CBL-Mariner (medium), Rocky Linux (medium), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| julia::Julia Ecosystem Security Advisories | Glib_jll | 2.86.3+0 |
| Photon OS 4.0 | glib, glib-devel, glib-doc and 1 more | 2.68.4-7.ph4 |
| Photon OS 5.0 | glib, glib-devel, glib-schemas | 2.75.2-13.ph5 |
| alma 10 | glib2, glib2-devel, glib2-doc and 2 more | 2.80.4-12.el10_2.13 |
| alma 8 | glib2, glib2-devel, glib2-doc and 7 more | 2.56.4-169.el8_10 and 1 more |
| alma 9 | glib2, glib2-devel, glib2-doc and 2 more | 2.68.4-19.el9_8.1 |
| amazon linux 2 | glib2, glib2-debuginfo, glib2-devel and 4 more | 2.56.1-9.amzn2.0.13 |
| amazon linux 2023 | glib2, glib2-debuginfo, glib2-debugsource and 6 more | 2.82.2-769.amzn2023 |
| Azure Linux 3.0 | glib | 0:2.78.6-6.azl3 |
| CBL-Mariner 2.0 | glib | 0:2.71.0-9.cm2 |
| debian 11 | glib2.0 | 2.66.8-1+deb11u7 |
| debian 12 | glib2.0 | 2.74.6-2+deb12u8 |
Show all 193 entries from 61 sources
| Source | Package | Fixed in |
|---|---|---|
| julia::Julia Ecosystem Security Advisories | Glib_jll | 2.86.3+0 |
| Photon OS 4.0 | glib | 2.68.4-7.ph4 |
| Photon OS 4.0 | glib-devel | 2.68.4-7.ph4 |
| Photon OS 4.0 | glib-doc | 2.68.4-7.ph4 |
| Photon OS 4.0 | glib-schemas | 2.68.4-7.ph4 |
| Photon OS 5.0 | glib | 2.75.2-13.ph5 |
| Photon OS 5.0 | glib-devel | 2.75.2-13.ph5 |
| Photon OS 5.0 | glib-schemas | 2.75.2-13.ph5 |
| alma 10 | glib2 | 2.80.4-12.el10_2.13 |
| alma 10 | glib2-devel | 2.80.4-12.el10_2.13 |
| alma 10 | glib2-doc | 2.80.4-12.el10_2.13 |
| alma 10 | glib2-static | 2.80.4-12.el10_2.13 |
| alma 10 | glib2-tests | 2.80.4-12.el10_2.13 |
| alma 8 | glib2 | 2.56.4-169.el8_10 |
| alma 8 | glib2-devel | 2.56.4-169.el8_10 |
| alma 8 | glib2-doc | 2.56.4-169.el8_10 |
| alma 8 | glib2-fam | 2.56.4-169.el8_10 |
| alma 8 | glib2-static | 2.56.4-169.el8_10 |
| alma 8 | glib2-tests | 2.56.4-169.el8_10 |
| alma 8 | mingw32-glib2 | 2.70.1-9.el8_10 |
| alma 8 | mingw32-glib2-static | 2.70.1-9.el8_10 |
| alma 8 | mingw64-glib2 | 2.70.1-9.el8_10 |
| alma 8 | mingw64-glib2-static | 2.70.1-9.el8_10 |
| alma 9 | glib2 | 2.68.4-19.el9_8.1 |
| alma 9 | glib2-devel | 2.68.4-19.el9_8.1 |
| alma 9 | glib2-doc | 2.68.4-19.el9_8.1 |
| alma 9 | glib2-static | 2.68.4-19.el9_8.1 |
| alma 9 | glib2-tests | 2.68.4-19.el9_8.1 |
| amazon linux 2 | glib2 | 2.56.1-9.amzn2.0.13 |
| amazon linux 2 | glib2-debuginfo | 2.56.1-9.amzn2.0.13 |
| amazon linux 2 | glib2-devel | 2.56.1-9.amzn2.0.13 |
| amazon linux 2 | glib2-doc | 2.56.1-9.amzn2.0.13 |
| amazon linux 2 | glib2-fam | 2.56.1-9.amzn2.0.13 |
| amazon linux 2 | glib2-static | 2.56.1-9.amzn2.0.13 |
| amazon linux 2 | glib2-tests | 2.56.1-9.amzn2.0.13 |
| amazon linux 2023 | glib2 | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-debuginfo | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-debugsource | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-devel | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-devel-debuginfo | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-doc | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-static | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-tests | 2.82.2-769.amzn2023 |
| amazon linux 2023 | glib2-tests-debuginfo | 2.82.2-769.amzn2023 |
| Azure Linux 3.0 | glib | 0:2.78.6-6.azl3 |
| CBL-Mariner 2.0 | glib | 0:2.71.0-9.cm2 |
| debian 11 | glib2.0 | 2.66.8-1+deb11u7 |
| debian 12 | glib2.0 | 2.74.6-2+deb12u8 |
| debian 13 | glib2.0 | 2.84.4-3~deb13u2 |
| debian 14 | glib2.0 | 2.86.3-1 |
| echo | glib2.0 | 2.74.6-2+deb12u8 |
| minimos | glib | 2.86.3-r0 |
| Oracle Linux 7 | glib2 | 2.56.1-9.0.5.el7_9 |
| Oracle Linux 7 | glib2-devel | 2.56.1-9.0.5.el7_9 |
| Oracle Linux 7 | glib2-doc | 2.56.1-9.0.5.el7_9 |
| Oracle Linux 7 | glib2-fam | 2.56.1-9.0.5.el7_9 |
| Oracle Linux 7 | glib2-static | 2.56.1-9.0.5.el7_9 |
| Oracle Linux 7 | glib2-tests | 2.56.1-9.0.5.el7_9 |
| Oracle Linux 8 | glib2 | 2.56.4-169.el8_10 |
| Oracle Linux 8 | glib2-devel | 2.56.4-169.el8_10 |
| Oracle Linux 8 | glib2-doc | 2.56.4-169.el8_10 |
| Oracle Linux 8 | glib2-fam | 2.56.4-169.el8_10 |
| Oracle Linux 8 | glib2-static | 2.56.4-169.el8_10 |
| Oracle Linux 8 | glib2-tests | 2.56.4-169.el8_10 |
| Oracle Linux 8 | mingw32-glib2 | 2.70.1-9.el8_10 |
| Oracle Linux 8 | mingw32-glib2-static | 2.70.1-9.el8_10 |
| Oracle Linux 8 | mingw64-glib2 | 2.70.1-9.el8_10 |
| Oracle Linux 8 | mingw64-glib2-static | 2.70.1-9.el8_10 |
| Oracle Linux 9 | glib2 | 2.68.4-19.el9_8.1 |
| Oracle Linux 9 | glib2-devel | 2.68.4-19.el9_8.1 |
| Oracle Linux 9 | glib2-doc | 2.68.4-19.el9_8.1 |
| Oracle Linux 9 | glib2-static | 2.68.4-19.el9_8.1 |
| Oracle Linux 9 | glib2-tests | 2.68.4-19.el9_8.1 |
| rapidfort alma 10 | mingw32-glib2 | no fix listed |
| rapidfort alma 10 | mingw32-glib2-static | no fix listed |
| rapidfort alma 10 | mingw64-glib2 | no fix listed |
| rapidfort alma 10 | mingw64-glib2-static | no fix listed |
| rapidfort alma 9 | mingw32-glib2 | no fix listed |
| rapidfort alma 9 | mingw32-glib2-static | no fix listed |
| rapidfort alma 9 | mingw64-glib2 | no fix listed |
| rapidfort alma 9 | mingw64-glib2-static | no fix listed |
| rapidfort alpine 3.20 | glib | 2.86.3-r0 |
| rapidfort alpine 3.21 | glib | 2.86.3-r0 |
| rapidfort alpine 3.22 | glib | 2.86.3-r0 |
| rapidfort alpine 3.23 | glib | 2.86.3-r0 |
| rapidfort alpine 3.24 | glib | 2.86.3-r0 |
| rapidfort amazon linux 2023 | glib2 | 0:2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | glib2-devel | 2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | glib2-doc | 2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | glib2-static | 2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | glib2-tests | 2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | rf-glib2 | 0:2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | rf-glib2-devel | 2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | rf-glib2-doc | 2.82.2-769.amzn2023 |
| rapidfort amazon linux 2023 | rf-glib2-static | 2.82.2-769.amzn2023 |
| rapidfort debian 12 | glib2.0 | 0:2.74.6-2+deb12u8, 0:2.84.4-3~deb13u2, 0:2.86.3-1 |
| rapidfort debian 12 | rf-glib2.0 | 0:2.74.6-2+deb12u8, 0:2.84.4-3~deb13u2, 0:2.86.3-1 |
| rapidfort debian 13 | glib2.0 | 0:2.74.6-2+deb12u8, 0:2.84.4-3~deb13u2, 0:2.86.3-1 |
| rapidfort debian 13 | rf-glib2.0 | 0:2.74.6-2+deb12u8, 0:2.84.4-3~deb13u2, 0:2.86.3-1 |
| rapidfort fedora 41 | glib2 | 0:2.82.5-2.fc41 |
| rapidfort fedora 41 | rf-glib2 | 0:2.82.5-2.fc41 |
| rapidfort fedora 42 | glib2 | 0:2.84.4-2.fc42 |
| rapidfort fedora 42 | rf-glib2 | 0:2.84.4-2.fc42 |
| rapidfort fedora 43 | glib | 1:1.2.10-77.fc43 |
| rapidfort fedora 43 | glib-devel | 1:1.2.10-77.fc43 |
| rapidfort fedora 43 | glib2 | 0:2.86.3-1.fc43 |
| rapidfort fedora 43 | glib2-devel | 2.86.3-1.fc43 |
| rapidfort fedora 43 | glib2-doc | 2.86.3-1.fc43 |
| rapidfort fedora 43 | glib2-static | 2.86.3-1.fc43 |
| rapidfort fedora 43 | glib2-tests | 2.86.3-1.fc43 |
| rapidfort fedora 43 | mingw-glib2 | 2.86.3-1.fc43 |
| rapidfort fedora 43 | mingw32-glib2 | 2.86.3-1.fc43 |
| rapidfort fedora 43 | mingw32-glib2-static | 2.86.3-1.fc43 |
| rapidfort fedora 43 | mingw64-glib2 | 2.86.3-1.fc43 |
| rapidfort fedora 43 | mingw64-glib2-static | 2.86.3-1.fc43 |
| rapidfort fedora 43 | rf-glib2 | 0:2.86.3-1.fc43 |
| rapidfort fedora 43 | rf-glib2-devel | 2.86.3-1.fc43 |
| rapidfort fedora 43 | rf-glib2-doc | 2.86.3-1.fc43 |
| rapidfort fedora 43 | rf-glib2-static | 2.86.3-1.fc43 |
| rapidfort fedora 43 | rf-glib2-tests | 2.86.3-1.fc43 |
| rapidfort Oracle Linux 10 | glib2 | 0:2.80.4-12.el10_2.13 |
| rapidfort Oracle Linux 10 | glib2-devel | 0:2.80.4-12.el10_2.13 |
| rapidfort Oracle Linux 10 | glib2-doc | 0:2.80.4-12.el10_2.13 |
| rapidfort Oracle Linux 10 | glib2-static | 0:2.80.4-12.el10_2.13 |
| rapidfort Oracle Linux 10 | glib2-tests | 0:2.80.4-12.el10_2.13 |
| rapidfort Oracle Linux 10 | mingw32-glib2 | no fix listed |
| rapidfort Oracle Linux 10 | mingw32-glib2-static | no fix listed |
| rapidfort Oracle Linux 10 | mingw64-glib2 | no fix listed |
| rapidfort Oracle Linux 10 | mingw64-glib2-static | no fix listed |
| rapidfort Oracle Linux 9 | glib2 | 0:2.68.4-19.el9_8.1 |
| rapidfort Oracle Linux 9 | glib2-devel | 0:2.68.4-19.el9_8.1 |
| rapidfort Oracle Linux 9 | glib2-doc | 0:2.68.4-19.el9_8.1 |
| rapidfort Oracle Linux 9 | glib2-static | 0:2.68.4-19.el9_8.1 |
| rapidfort Oracle Linux 9 | glib2-tests | 0:2.68.4-19.el9_8.1 |
| rapidfort Oracle Linux 9 | mingw32-glib2 | no fix listed |
| rapidfort Oracle Linux 9 | mingw32-glib2-static | no fix listed |
| rapidfort Oracle Linux 9 | mingw64-glib2 | no fix listed |
| rapidfort Oracle Linux 9 | mingw64-glib2-static | no fix listed |
| rapidfort Red Hat 10 | mingw32-glib2 | no fix listed |
| rapidfort Red Hat 10 | mingw32-glib2-static | no fix listed |
| rapidfort Red Hat 10 | mingw64-glib2 | no fix listed |
| rapidfort Red Hat 10 | mingw64-glib2-static | no fix listed |
| rapidfort Red Hat 9 | mingw32-glib2 | no fix listed |
| rapidfort Red Hat 9 | mingw32-glib2-static | no fix listed |
| rapidfort Red Hat 9 | mingw64-glib2 | no fix listed |
| rapidfort Red Hat 9 | mingw64-glib2-static | no fix listed |
| rapidfort rocky 10 | mingw-glib2 | no fix listed |
| rapidfort rocky 9 | mingw-glib2 | no fix listed |
| rapidfort ubuntu | glib2.0 | 0:2.84.4-14rfubu, 0:2.84.4-16rfubu, 0:2.84.4-19rfubu |
| rapidfort ubuntu | rf-glib2.0 | 0:2.84.4-14rfubu, 0:2.84.4-16rfubu, 0:2.84.4-19rfubu |
| rapidfort ubuntu 20.04 | glib2.0 | 0:2.80.0-6ubuntu3.6 |
| rapidfort ubuntu 20.04 | rf-glib2.0 | 0:2.80.0-6ubuntu3.6 |
| rapidfort ubuntu 22.04 | glib2.0 | 0:2.80.0-6ubuntu3.6 |
| rapidfort ubuntu 22.04 | rf-glib2.0 | 0:2.80.0-6ubuntu3.6 |
| rapidfort ubuntu 24.04 | glib2.0 | 0:2.80.0-6ubuntu3.6 |
| rapidfort ubuntu 24.04 | rf-glib2.0 | 0:2.80.0-6ubuntu3.6 |
| Red Hat | glib2 | no fix listed |
| Red Hat | glib2-devel | no fix listed |
| Red Hat | glib2-doc | no fix listed |
| Red Hat | glib2-static | no fix listed |
| Red Hat | mingw-glib2 | no fix listed |
| Red Hat | mingw32-glib2 | no fix listed |
| Red Hat | mingw32-glib2-static | no fix listed |
| Red Hat | mingw64-glib2 | no fix listed |
| Red Hat | mingw64-glib2-static | no fix listed |
| Red Hat | openshift4/ose-hypershift-rhel9 | no fix listed |
| rocky 10 | glib2 | 2.80.4-12.el10_2.13 |
| rocky 8 | glib2 | 2.56.4-169.el8_10 |
| rocky 8 | glib2-devel | 2.56.4-169.el8_10 |
| rocky 8 | glib2-fam | 2.56.4-169.el8_10 |
| rocky 8 | glib2-tests | 2.56.4-169.el8_10 |
| rocky 9 | glib2 | 2.68.4-19.el9_8.1 |
| root.io debian 11 | rootio-glib2.0 | 2.66.8-1+deb11u7 |
| root.io debian 12 | glib2.0 | 2.74.6-2+deb12u8 |
| root.io debian 12 | rootio-glib2.0 | 2.74.6-2+deb12u8 |
| root.io debian 13 | rootio-glib2.0 | 2.84.4-3~deb13u2 |
| seal debian | glib2.0 | 2.74.6-2+deb12u7+sp999 |
| seal debian | seal-glib2.0 | 2.74.6-2+deb12u7+sp999 |
| seal Red Hat 6 | glib2 | 2.28.8-11.el6_10+sp999 |
| seal Red Hat 6 | seal-glib2 | 2.28.8-11.el6_10+sp999 |
| seal Red Hat 7 | glib2 | 2.56.1-7.el7+sp999 |
| seal Red Hat 7 | seal-glib2 | 2.56.1-7.el7+sp999 |
| seal Red Hat 8 | glib2 | 2.56.4-165.el8_10+sp999 |
| seal Red Hat 8 | seal-glib2 | 2.56.4-165.el8_10+sp999 |
| seal Red Hat 9 | glib2 | 2.68.4-14.el9_4.1+sp999 |
| seal Red Hat 9 | seal-glib2 | 2.68.4-14.el9_4.1+sp999 |
| ubuntu 16.04-ESM | glib2.0 | 2.48.2-0ubuntu4.8+esm5 |
| ubuntu 18.04-ESM | glib2.0 | 2.56.4-0ubuntu0.18.04.9+esm5 |
| ubuntu 20.04-ESM | glib2.0 | 2.64.6-1~ubuntu20.04.9+esm1 |
| ubuntu 22.04 | glib2.0 | 2.72.4-0ubuntu2.7 |
| ubuntu 24.04 | glib2.0 | 2.80.0-6ubuntu3.6 |
| ubuntu 25.04 | glib2.0 | 2.84.1-1ubuntu0.2 |
| ubuntu 25.10 | glib2.0 | 2.86.0-2ubuntu0.1 |
References
- https://access.redhat.com/errata/RHSA-2026:15953
- https://access.redhat.com/errata/RHSA-2026:15969
- https://access.redhat.com/errata/RHSA-2026:15971
- https://access.redhat.com/errata/RHSA-2026:19148
- https://access.redhat.com/errata/RHSA-2026:19361
- https://access.redhat.com/errata/RHSA-2026:19452
- https://access.redhat.com/errata/RHSA-2026:19457
- https://access.redhat.com/errata/RHSA-2026:19459
All 50 references
- https://access.redhat.com/errata/RHSA-2026:19460
- https://access.redhat.com/errata/RHSA-2026:19523
- https://access.redhat.com/errata/RHSA-2026:19524
- https://access.redhat.com/errata/RHSA-2026:19565
- https://access.redhat.com/errata/RHSA-2026:19566
- https://access.redhat.com/errata/RHSA-2026:19567
- https://access.redhat.com/errata/RHSA-2026:21275
- https://access.redhat.com/errata/RHSA-2026:22634
- https://access.redhat.com/errata/RHSA-2026:25096
- https://access.redhat.com/errata/RHSA-2026:29197
- https://access.redhat.com/errata/RHSA-2026:49512
- https://access.redhat.com/errata/RHSA-2026:58981
- https://access.redhat.com/errata/RHSA-2026:72502
- https://access.redhat.com/errata/RHSA-2026:7461
- https://access.redhat.com/errata/RHSA-2026:74674
- https://access.redhat.com/errata/RHSA-2026:82304
- https://access.redhat.com/errata/RHSA-2026:82322
- https://access.redhat.com/errata/RHSA-2026:82347
- https://access.redhat.com/errata/RHSA-2026:82354
- https://access.redhat.com/errata/RHSA-2026:82372
- https://access.redhat.com/errata/RHSA-2026:82857
- https://access.redhat.com/errata/RHSA-2026:82888
- https://access.redhat.com/security/cve/CVE-2025-14087
- https://bugzilla.redhat.com/2419093
- https://bugzilla.redhat.com/2421339
- https://bugzilla.redhat.com/show_bug.cgi?id=2419093
- https://bugzilla.redhat.com/show_bug.cgi?id=2421339
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-14087
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-14512
- https://errata.almalinux.org/9/ALSA-2026-19361.html
- https://errata.rockylinux.org/RLSA-2026:19361
- https://github.com/advisories/GHSA-frh9-7wfp-w73p
- https://gitlab.gnome.org/GNOME/glib/-/issues/3834
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4933
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4934
- https://linux.oracle.com/cve/CVE-2025-14087.html
- https://linux.oracle.com/errata/ELSA-2026-49512.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-14087
- https://ubuntu.com/security/notices/USN-7942-1
- https://ubuntu.com/security/notices/USN-7942-2
- https://www.cve.org/CVERecord?id=CVE-2025-14087