# CVE-2021-3800: glib2: GLib provides the core application building blocks for libraries and applications written in C

CVE-2021-3800 is fixed in 12 products on 1 platform, first by libglib2.0-0 2.56.4-0ubuntu0.18.04.9, released November 1, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-3800
- Priority: High
- CVSS: 7.5 (Moderate)
- EPSS: 0.0057
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 1, 2021

## Description

GLib provides the core application building blocks for libraries and applications written in C. It provides the core object system used in GNOME, the main loop implementation, and a large set of utility functions for strings and common data structures.  Security Fix(es):  * glib2: Possible privilege escalation thourgh pkexec and aliases (CVE-2021-3800)  * glib: g_file_replace() with G_FILE_CREATE_REPLACE_DESTINATION creates empty target for dangling symlink (CVE-2021-28153)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | glib2 RHEL 8 | 0:2.56.4-156.el8 | [RHSA-2021:4385](https://patchblox.com/security/data/fix/linux/rhsa-2021-4385.md) | Nov 9, 2021 |
| Linux | glib2 ol 8 | 0:2.56.4-156.el8 | [ELSA-2021-4385](https://patchblox.com/security/data/fix/linux/elsa-2021-4385.md) | Nov 16, 2021 |
| Linux | glib2-devel RHEL 8 | 0:2.56.4-156.el8 | [RHSA-2021:4385](https://patchblox.com/security/data/fix/linux/rhsa-2021-4385.md) | Nov 9, 2021 |
| Linux | glib2-devel ol 8 | 0:2.56.4-156.el8 | [ELSA-2021-4385](https://patchblox.com/security/data/fix/linux/elsa-2021-4385.md) | Nov 16, 2021 |
| Linux | glib2-doc RHEL 8 | 0:2.56.4-156.el8 | [RHSA-2021:4385](https://patchblox.com/security/data/fix/linux/rhsa-2021-4385.md) | Nov 9, 2021 |
| Linux | glib2-doc ol 8 | 0:2.56.4-156.el8 | [ELSA-2021-4385](https://patchblox.com/security/data/fix/linux/elsa-2021-4385.md) | Nov 16, 2021 |
| Linux | glib2-fam RHEL 8 | 0:2.56.4-156.el8 | [RHSA-2021:4385](https://patchblox.com/security/data/fix/linux/rhsa-2021-4385.md) | Nov 9, 2021 |
| Linux | glib2-fam ol 8 | 0:2.56.4-156.el8 | [ELSA-2021-4385](https://patchblox.com/security/data/fix/linux/elsa-2021-4385.md) | Nov 16, 2021 |
| Linux | glib2-static RHEL 8 | 0:2.56.4-156.el8 | [RHSA-2021:4385](https://patchblox.com/security/data/fix/linux/rhsa-2021-4385.md) | Nov 9, 2021 |
| Linux | glib2-static ol 8 | 0:2.56.4-156.el8 | [ELSA-2021-4385](https://patchblox.com/security/data/fix/linux/elsa-2021-4385.md) | Nov 16, 2021 |
| Linux | glib2-tests RHEL 8 | 0:2.56.4-156.el8 | [RHSA-2021:4385](https://patchblox.com/security/data/fix/linux/rhsa-2021-4385.md) | Nov 9, 2021 |
| Linux | glib2-tests ol 8 | 0:2.56.4-156.el8 | [ELSA-2021-4385](https://patchblox.com/security/data/fix/linux/elsa-2021-4385.md) | Nov 16, 2021 |
| Linux | glib2.0 Debian 12.15 (bookworm) | 2.64.0-1 | [DEBIAN-CVE-2021-3800](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3800.md) | Aug 23, 2022 |
| Linux | glib2.0 Debian 13.5 (trixie) | 2.64.0-1 | [DEBIAN-CVE-2021-3800](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3800.md) | Aug 23, 2022 |
| Linux | glib2.0 Debian 14 | 2.64.0-1 | [DEBIAN-CVE-2021-3800](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3800.md) | Aug 23, 2022 |
| Linux | libglib2.0-0 Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.9 | [libglib2.0-0 2.56.4-0ubuntu0.18.04.9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-0-2.56.4-0ubuntu0.18.04.9.md) | Nov 1, 2021 |
| Linux | libglib2.0-bin Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.9 | [libglib2.0-bin 2.56.4-0ubuntu0.18.04.9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-bin-2.56.4-0ubuntu0.18.04.9.md) | Nov 1, 2021 |
| Linux | libglib2.0-data Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.9 | [libglib2.0-data 2.56.4-0ubuntu0.18.04.9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-data-2.56.4-0ubuntu0.18.04.9.md) | Nov 1, 2021 |
| Linux | libglib2.0-dev-bin Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.9 | [libglib2.0-dev-bin 2.56.4-0ubuntu0.18.04.9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-dev-bin-2.56.4-0ubuntu0.18.04.9.md) | Nov 1, 2021 |
| Linux | libglib2.0-tests Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.9 | [libglib2.0-tests 2.56.4-0ubuntu0.18.04.9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-tests-2.56.4-0ubuntu0.18.04.9.md) | Nov 1, 2021 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
