Advisory

ALSA-2021:4526

Also known as: CVE-2021-27218, CVE-2021-27219

Summary

Important: mingw-glib2 security, bug fix, and enhancement update

Details

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.

The following packages have been upgraded to a later upstream version: mingw-glib2 (2.66.7). (BZ#1935248, BZ#1939111)

Security Fix(es):

  • glib: integer overflow in g_bytes_new function on 64-bit platforms due to an implicit cast from 64 bits to 32 bits (CVE-2021-27219)
  • glib: integer overflow in g_byte_array_new_take function when called with a buffer of 4GB or more on a 64-bit platform (CVE-2021-27218)

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 AlmaLinux Release Notes linked from the References section.

Severity

Not rated by the source.

Dates

Published
2021-11-09 09:43 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

mingw32-glib2

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.66.7-2.el8 (ecosystem)

Fixed versions

2.66.7-2.el8

Fix

  • Fixed version 2.66.7-2.el8
    sudo dnf upgrade mingw32-glib2-2.66.7-2.el8

mingw32-glib2-static

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.66.7-2.el8 (ecosystem)

Fixed versions

2.66.7-2.el8

Fix

  • Fixed version 2.66.7-2.el8
    sudo dnf upgrade mingw32-glib2-static-2.66.7-2.el8

mingw64-glib2

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.66.7-2.el8 (ecosystem)

Fixed versions

2.66.7-2.el8

Fix

  • Fixed version 2.66.7-2.el8
    sudo dnf upgrade mingw64-glib2-2.66.7-2.el8

mingw64-glib2-static

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.66.7-2.el8 (ecosystem)

Fixed versions

2.66.7-2.el8

Fix

  • Fixed version 2.66.7-2.el8
    sudo dnf upgrade mingw64-glib2-static-2.66.7-2.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences