CVE-2021-27219
publishedglib: integer overflow in g_bytes_new function on 64-bit platforms due to an implicit cast from 64 bits to 32 bits
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1655 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | glib2-doc | Advisory build | 2.56.4-10.el8_4 | ALSA-2021:2170 |
| Alpine Linux | edge | glib | Fixed | 2.66.6-r0 | Package fix record |
| Debian | stretch | glib2.0 | Advisory build | 2.50.3-2+deb9u3 | DLA-3044-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Oracle Linux | 6 | glib2i686 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Red Hat Enterprise Linux | RHEL-6 | glib2i686 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| AlmaLinux | 8 | glib2-static | Advisory build | 2.56.4-10.el8_4 | ALSA-2021:2170 |
| AlmaLinux | 8 | mingw32-glib2 | Advisory build | 2.66.7-2.el8 | ALSA-2021:4526 |
| AlmaLinux | 8 | mingw32-glib2-static | Advisory build | 2.66.7-2.el8 | ALSA-2021:4526 |
| AlmaLinux | 8 | mingw64-glib2 | Advisory build | 2.66.7-2.el8 | ALSA-2021:4526 |
| AlmaLinux | 8 | mingw64-glib2-static | Advisory build | 2.66.7-2.el8 | ALSA-2021:4526 |
| Alpine Linux | v3.13 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.14 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.15 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.16 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.17 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.18 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.19 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.20 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.21 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.22 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.23 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Alpine Linux | v3.24 | glib | Fixed | 2.66.6-r0 | Package fix record |
| Oracle Linux | 6 | glib2x86_64 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 6 | glib2-develi686 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 6 | glib2-develx86_64 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 6 | glib2-doci686 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 6 | glib2-docx86_64 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 6 | glib2-statici686 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 6 | glib2-staticx86_64 | Advisory build | 0:2.28.8-10.0.1.el6 | ELSA-2021-9318 |
| Oracle Linux | 7 | glib2aarch64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2x86_64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-develaarch64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-develx86_64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-docaarch64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-docx86_64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-famaarch64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-famx86_64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-staticaarch64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-staticx86_64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-testsaarch64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 7 | glib2-testsx86_64 | Advisory build | 0:2.56.1-9.el7_9 | ELSA-2021-2147 |
| Oracle Linux | 8 | glib2aarch64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2x86_64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-develaarch64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-develx86_64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-docaarch64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-docx86_64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-famaarch64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-famx86_64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-staticaarch64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-staticx86_64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-testsaarch64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Oracle Linux | 8 | glib2-testsx86_64 | Advisory build | 0:2.56.4-10.el8_4 | ELSA-2021-2170 |
| Red Hat Enterprise Linux | RHEL-6 | glib2s390 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2s390x | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2src | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2x86_64 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-debuginfoi686 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-debuginfos390 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-debuginfos390x | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-debuginfox86_64 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-develi686 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-devels390 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-devels390x | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-develx86_64 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-docnoarch | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-statici686 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-statics390x | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-6 | glib2-staticx86_64 | Advisory build | 2.28.8-11.el6_10 | RHSA-2021:2467 |
| Red Hat Enterprise Linux | RHEL-7 | glib2i686 | Advisory build | 2.42.2-6.el7_2 | RHSA-2021:2203 |
| Red Hat Enterprise Linux | RHEL-7 | glib2i686 | Advisory build | 2.46.2-5.el7_3 | RHSA-2021:2173 |
| Red Hat Enterprise Linux | RHEL-7 | glib2i686 | Advisory build | 2.50.3-4.el7_4 | RHSA-2021:2174 |
| Red Hat Enterprise Linux | RHEL-7 | glib2i686 | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2i686 | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2i686 | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64 | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64 | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64 | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64le | Advisory build | 2.50.3-4.el7_4 | RHSA-2021:2174 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64le | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64le | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2ppc64le | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2s390 | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2s390 | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2s390 | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2s390x | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2s390x | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2s390x | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2src | Advisory build | 2.42.2-6.el7_2 | RHSA-2021:2203 |
| Red Hat Enterprise Linux | RHEL-7 | glib2src | Advisory build | 2.46.2-5.el7_3 | RHSA-2021:2173 |
| Red Hat Enterprise Linux | RHEL-7 | glib2src | Advisory build | 2.50.3-4.el7_4 | RHSA-2021:2174 |
| Red Hat Enterprise Linux | RHEL-7 | glib2src | Advisory build | 2.56.1-5.el7_6 | RHSA-2021:2204 |
| Red Hat Enterprise Linux | RHEL-7 | glib2src | Advisory build | 2.56.1-6.el7_7 | RHSA-2021:2175 |
| Red Hat Enterprise Linux | RHEL-7 | glib2src | Advisory build | 2.56.1-9.el7_9 | RHSA-2021:2147 |
| Red Hat Enterprise Linux | RHEL-7 | glib2x86_64 | Advisory build | 2.42.2-6.el7_2 | RHSA-2021:2203 |
| Red Hat Enterprise Linux | RHEL-7 | glib2x86_64 | Advisory build | 2.46.2-5.el7_3 | RHSA-2021:2173 |
| Red Hat Enterprise Linux | RHEL-7 | glib2x86_64 | Advisory build | 2.50.3-4.el7_4 | RHSA-2021:2174 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- n/a
References
8- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://gitlab.gnome.org/GNOME/glib/-/issues/2319
- [mina-dev] 20210225 [jira] [Created] (FTPSERVER-500) Security vulnerability in common/lib/log4j-1.2.17.jar https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- [debian-lts-announce] 20220606 [SECURITY] [DLA 3044-1] glib2.0 security update https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html
- FEDORA-2021-7c71cda8da https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/
- FEDORA-2021-7b5e2e6844 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/
- GLSA-202107-13 https://security.gentoo.org/glsa/202107-13
- https://security.netapp.com/advisory/ntap-20210319-0004/
Provider assertions
3mitre · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c24dc7c7faea76afbffe6c4542debfee4ae13a6e9c7cb9c1e187e9ff009b1a5
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record