Skip to content
OpenAdvisories
Unscored openSUSE-SU-2021:0406-1 2 CVEs

Security update for glib2

Published Mar 14, 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)

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 15.2 glib2 2.62.6-lp152.2.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