Skip to main content
HIGH

CVE-2021-27219

CVSS v3

7.5

HIGH

EPSS Score

3.1 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for glib.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • glib2-docAlmaLinux:8all versions · fixed in 2.56.4-10.el8_4and 1 other package
  • mingw32-glib2AlmaLinux:8all versions · fixed in 2.66.7-2.el8and 3 other packages

Vendor advisories

  • CVE-2021-27219 Red Hat Product Security561 products fixed

    glib: integer overflow in g_bytes_new function on 64-bit platforms due to an implicit cast from 64 bits to 32 bits

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5

  • RHSA-2021:4526 Red Hat Product Security7 products fixed

    Red Hat Security Advisory: mingw-glib2 security, bug fix, and enhancement update

  • RHBA-2021:2854 Red Hat Product Security13 products fixed

    Red Hat Bug Fix Advisory: Migration Toolkit for Containers (MTC) 1.4.6 release advisory

  • RHSA-2021:2522 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.4.6]

11 more advisories

Full record on NVD

Description

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.

Technical details

Published
2021-02-15

Frequently asked questions

What is CVE-2021-27219?

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.

Is CVE-2021-27219 actively exploited?

Active exploitation of CVE-2021-27219 has not been confirmed. Its EPSS score was 3.1% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-27219?

CVE-2021-27219 has a CVSS v3 base score of 7.5 (HIGH severity).

Running glib? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month