Skip to content
OpenAdvisories
Unscored SUSE-SU-2021:0778-1 2 CVEs

Security update for glib2

Published Mar 12, 2021 · Updated Feb 4, 2026

Summary

This update for glib2 fixes the following issues:

- CVE-2021-27218: g_byte_array_new_take takes a gsize as length but stores in a guint, this patch will refuse if
the length is larger than guint. (bsc#1182328)
- CVE-2021-27219: g_memdup takes a guint as parameter and sometimes leads into an integer overflow, so add a g_memdup2 function which uses gsize to replace it. (bsc#1182362)

Fixed packages 2

ReleasePackageFixed in
SUSE · SLE Micro 5.0 Linux Enterprise Micro 5.0 glib2 2.62.6-3.6.1
SUSE · SLES 15 SP2 Linux Enterprise Module for Basesystem 15 SP2 glib2 2.62.6-3.6.1

Vulnerabilities 2

References

  • report
    https://bugzilla.suse.com/1182328
  • report
    https://bugzilla.suse.com/1182362
  • web
    https://www.suse.com/security/cve/CVE-2021-27218
  • web
    https://www.suse.com/security/cve/CVE-2021-27219