Skip to content
Fencer Vulns
medium 5.5

CVE-2021-3800 json

A flaw was found in glib before version 2.63.6

published 2022-08-23 4 y ago modified 2026-07-18 3 mo ago also EUVD-2021-27060 , JLSEC-2025-159

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.

Patch / fix

  • julia Glib_jll 2.68.1+0
  • gnome glib 2.62.5, 2.63.6
  • glib2.0 Debian 14, Debian 13, Debian 12 2.64.0-1

debian advisories DEBIAN-CVE-2021-3800

  • glib2.0 Ubuntu 18.04 LTS 2.56.4-0ubuntu0.18.04.9
  • glib2.0 Ubuntu Pro 14.04 LTS 2.40.2-0ubuntu1.1+esm4
  • glib2.0 Ubuntu Pro 16.04 LTS 2.48.2-0ubuntu4.8+esm1

ubuntu advisories UBUNTU-CVE-2021-3800

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • glib2 RHEL 8 2.56.4-156.el8
  • glib2-fam RHEL 8 2.56.4-156.el8
  • glib2-tests RHEL 8 2.56.4-156.el8

red hat advisories RHSA-2021:4385

  • glib2 SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 2.48.2-12.25.1

suse advisories SUSE-SU-2022:0828-1

  • glib2 Rocky Linux 8 2.56.4-156.el8

rocky linux advisories RLSA-2021:4385

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-3800 updated cvss 5.5

glib2: Possible privilege escalation thourgh pkexec and aliases

  • Red Hat Enterprise Linux 6 glib2, firefox Red Hat Enterprise Linux 7 glib2, firefox, glib2-fam, glib2-tests
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 firefox
    affected: no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 8) glib2-doc 2.56.4-156.el8, glib2-static 2.56.4-156.el8, glib2-debuginfo 2.56.4-156.el8, glib2-debugsource 2.56.4-156.el8, glib2-fam-debuginfo 2.56.4-156.el8, glib2-devel-debuginfo 2.56.4-156.el8, +1 more Red Hat Enterprise Linux BaseOS (v. 8) glib2 2.56.4-156.el8, glib2-fam 2.56.4-156.el8, glib2-tests 2.56.4-156.el8
    fixed: vendor fix RHSA-2021:4385
  • Red Hat Enterprise Linux 8 firefox, mingw-glib2, mingw32-glib2, mingw64-glib2 Red Hat Enterprise Linux 9 glib2, firefox, firefox-x11, glib2-tests
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • openwall.com https://www.openwall.com/lists/oss-security/2017/06/23/8 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
julia Glib_jll
<2.68.1+0
2.68.1+0

Affected products

  • n/a Glib

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-552 Files or Directories Accessible to External Parties

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.