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

CVE-2021-28153 is fixed in 15 products on 1 platform, first by libglib2.0-0 2.56.4-0ubuntu0.18.04.8, released March 11, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-28153
- Priority: Routine
- CVSS: 5.3 (Moderate)
- EPSS: 0.0271
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 11, 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 rocky 8 | 0:2.56.4-156.el8 | [RLSA-2021:4385](https://patchblox.com/security/data/fix/linux/rlsa-2021-4385.md) | Nov 9, 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 almalinux 8 | 2.56.4-156.el8 | [ALSA-2021:4385](https://patchblox.com/security/data/fix/linux/alsa-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 almalinux 8 | 2.56.4-156.el8 | [ALSA-2021:4385](https://patchblox.com/security/data/fix/linux/alsa-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 | libglib2.0-0 Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.8 | [libglib2.0-0 2.56.4-0ubuntu0.18.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-0-2.56.4-0ubuntu0.18.04.8.md) | Mar 11, 2021 |
| Linux | libglib2.0-0 Ubuntu 20.04 LTS (focal) | 2.64.6-1~ubuntu20.04.3 | [libglib2.0-0 2.64.6-1~ubuntu20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libglib2.0-0-2.64.6-1-ubuntu20.04.3.md) | Mar 11, 2021 |
| Linux | libglib2.0-bin Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.8 | [libglib2.0-bin 2.56.4-0ubuntu0.18.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-bin-2.56.4-0ubuntu0.18.04.8.md) | Mar 11, 2021 |
| Linux | libglib2.0-bin Ubuntu 20.04 LTS (focal) | 2.64.6-1~ubuntu20.04.3 | [libglib2.0-bin 2.64.6-1~ubuntu20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libglib2.0-bin-2.64.6-1-ubuntu20.04.3.md) | Mar 11, 2021 |
| Linux | libglib2.0-data Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.8 | [libglib2.0-data 2.56.4-0ubuntu0.18.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-data-2.56.4-0ubuntu0.18.04.8.md) | Mar 11, 2021 |
| Linux | libglib2.0-data Ubuntu 20.04 LTS (focal) | 2.64.6-1~ubuntu20.04.3 | [libglib2.0-data 2.64.6-1~ubuntu20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libglib2.0-data-2.64.6-1-ubuntu20.04.3.md) | Mar 11, 2021 |
| Linux | libglib2.0-dev-bin Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.8 | [libglib2.0-dev-bin 2.56.4-0ubuntu0.18.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-dev-bin-2.56.4-0ubuntu0.18.04.8.md) | Mar 11, 2021 |
| Linux | libglib2.0-dev-bin Ubuntu 20.04 LTS (focal) | 2.64.6-1~ubuntu20.04.3 | [libglib2.0-dev-bin 2.64.6-1~ubuntu20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libglib2.0-dev-bin-2.64.6-1-ubuntu20.04.3.md) | Mar 11, 2021 |
| Linux | libglib2.0-tests Ubuntu 18.04.6 LTS (bionic) | 2.56.4-0ubuntu0.18.04.8 | [libglib2.0-tests 2.56.4-0ubuntu0.18.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libglib2.0-tests-2.56.4-0ubuntu0.18.04.8.md) | Mar 11, 2021 |
| Linux | libglib2.0-tests Ubuntu 20.04 LTS (focal) | 2.64.6-1~ubuntu20.04.3 | [libglib2.0-tests 2.64.6-1~ubuntu20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libglib2.0-tests-2.64.6-1-ubuntu20.04.3.md) | Mar 11, 2021 |
| Linux | mingw32-glib2 RHEL 9 | 0:2.70.1-2.el9 | [RHSA-2022:8418](https://patchblox.com/security/data/fix/linux/rhsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw32-glib2 almalinux 9 | 2.70.1-2.el9 | [ALSA-2022:8418](https://patchblox.com/security/data/fix/linux/alsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw32-glib2 ol 9 | 0:2.70.1-2.el9 | [ELSA-2022-8418](https://patchblox.com/security/data/fix/linux/elsa-2022-8418.md) | Nov 22, 2022 |
| Linux | mingw32-glib2-static RHEL 9 | 0:2.70.1-2.el9 | [RHSA-2022:8418](https://patchblox.com/security/data/fix/linux/rhsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw32-glib2-static almalinux 9 | 2.70.1-2.el9 | [ALSA-2022:8418](https://patchblox.com/security/data/fix/linux/alsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw32-glib2-static ol 9 | 0:2.70.1-2.el9 | [ELSA-2022-8418](https://patchblox.com/security/data/fix/linux/elsa-2022-8418.md) | Nov 22, 2022 |
| Linux | mingw64-glib2 RHEL 9 | 0:2.70.1-2.el9 | [RHSA-2022:8418](https://patchblox.com/security/data/fix/linux/rhsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw64-glib2 almalinux 9 | 2.70.1-2.el9 | [ALSA-2022:8418](https://patchblox.com/security/data/fix/linux/alsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw64-glib2 ol 9 | 0:2.70.1-2.el9 | [ELSA-2022-8418](https://patchblox.com/security/data/fix/linux/elsa-2022-8418.md) | Nov 22, 2022 |
| Linux | mingw64-glib2-static RHEL 9 | 0:2.70.1-2.el9 | [RHSA-2022:8418](https://patchblox.com/security/data/fix/linux/rhsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw64-glib2-static almalinux 9 | 2.70.1-2.el9 | [ALSA-2022:8418](https://patchblox.com/security/data/fix/linux/alsa-2022-8418.md) | Nov 15, 2022 |
| Linux | mingw64-glib2-static ol 9 | 0:2.70.1-2.el9 | [ELSA-2022-8418](https://patchblox.com/security/data/fix/linux/elsa-2022-8418.md) | Nov 22, 2022 |

---

Data as of 2026-11-08T13:06:02Z 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.
