Every CVE Search/ Get API key

CVE-2020-35457

** DISPUTED ** GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of...

7.8 HighFix availableDisputed

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.57%Down 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
CVE-2020-35457
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-190, CWE-787
Updated
2026-11-02
CVE List No score

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
CVE-2020-35457
Updated
2026-11-02
EUVDEUVD-2020-23131 No score

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
EUVD-2020-23131
Updated
2026-11-03
GitHub AdvisoriesGHSA-2fcx-98cm-5x99 7.8

** DISPUTED ** GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of...

** DISPUTED ** GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented.

Record
GHSA-2fcx-98cm-5x99
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVAZL-6435 7.8

CVE-2020-35457 affecting package glib for versions less than 2.60.1-5

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
AZL-6435
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2020-35457 7.8

CVE-2020-35457 does not affect BellSoft software

Record
BELL-CVE-2020-35457
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 9 moreShow less
OSV 7.8

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
CVE-2020-35457
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-35457 7.8

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
DEBIAN-CVE-2020-35457
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVJLSEC-2025-155 7.8

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in...

GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented

Record
JLSEC-2025-155
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSVOESA-2021-1106 7.8

glib2 security update

GLib is a bundle of three (formerly five) low-level system libraries written in C and developed mainly by GNOME. GLib's code was separated from GTK, so it can be used by software other than GNOME and has been developed in parallel ever since.

Security Fix(es):

An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.(CVE-2021-27218)

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.(CVE-2021-27219)

** DISPUTED ** GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented.(CVE-2020-35457)

Record
OESA-2021-1106
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2025-1758705181 No score

glib2: Fix of CVE-2020-35457

  • CVE-2020-35457: fix integer overflow in g_option_group_add_entries to prevent potential out-of-bounds write
  • Bug775510: avoid calling Standard C string/array functions with NULL arguments
Record
CLSA-2025-1758705181
Updated
2026-11-02
OSVCLSA-2025-1758709468 No score

glib2: Fix of CVE-2020-35457

  • CVE-2020-35457: fix integer overflow in g_option_group_add_entries to prevent potential out-of-bounds write
  • Bug775510: avoid calling Standard C string/array functions with NULL arguments
Record
CLSA-2025-1758709468
Updated
2026-11-02
OSVCLSA-2025-1763023946 No score

Fix CVE(s): CVE-2020-35457

  • SECURITY UPDATE: Integer Overflow in g_option_group_add_entries
    • debian/patches/CVE-2020-35457.patch: goption: add a precondition to avoid GOptionEntry list overflow
    • CVE-2020-35457
Record
CLSA-2025-1763023946
Updated
2026-11-02
OSVCLSA-2026-1777391919 No score

glib2: Fix of CVE-2020-35457

  • CVE-2020-35457: add a precondition in g_option_group_add_entries() to avoid a GOptionEntry list size overflow (GMAXSIZE). Patch backported from amazon-linux-2els.
Record
CLSA-2026-1777391919
Updated
2026-11-02
OSVCLSA-2026-1777392531 No score

glib2: Fix of CVE-2020-35457

  • CVE-2020-35457: add a precondition in g_option_group_add_entries() to avoid a GOptionEntry list size overflow (GMAXSIZE). Patch backported from amazon-linux-2els.
Record
CLSA-2026-1777392531
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
glib
Azure Linux:2
before 2.60.1-5
2.60.1-5
glib2
TuxCare:OracleLinux:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2-devel
TuxCare:OracleLinux:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2-doc
TuxCare:OracleLinux:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2-static
TuxCare:OracleLinux:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2
TuxCare:CentOS:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2-devel
TuxCare:CentOS:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2-doc
TuxCare:CentOS:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
glib2-static
TuxCare:CentOS:6
before 2.28.8-12.el6.tuxcare.els4
2.28.8-12.el6.tuxcare.els4
libglib2.0-0
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
Show 23 moreShow less
Affected packages
PackageAffectedFixed
libglib2.0-bin
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
libglib2.0-data
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
libglib2.0-dev
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
libglib2.0-dev-bin
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
libglib2.0-doc
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
libglib2.0-tests
TuxCare:Debian:10
before 2.58.3-2+deb10u6+tuxcare.els1
2.58.3-2+deb10u6+tuxcare.els1
glib2
TuxCare:CentOS:8.4
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-devel
TuxCare:CentOS:8.4
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-doc
TuxCare:CentOS:8.4
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-fam
TuxCare:CentOS:8.4
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-static
TuxCare:CentOS:8.4
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-tests
TuxCare:CentOS:8.4
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2
TuxCare:CentOS:8.5
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-devel
TuxCare:CentOS:8.5
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-doc
TuxCare:CentOS:8.5
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-fam
TuxCare:CentOS:8.5
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-static
TuxCare:CentOS:8.5
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2-tests
TuxCare:CentOS:8.5
before 2.56.4-156.el8.tuxcare.els7
2.56.4-156.el8.tuxcare.els7
glib2.0
Debian:12
before 2.66.0-1
2.66.0-1
glib2.0
Debian:13
before 2.66.0-1
2.66.0-1
glib2.0
Debian:14
before 2.66.0-1
2.66.0-1
Glib_jll
Julia
before 2.68.1+0
2.68.1+0
glib2
openEuler:20.03-LTS
From an advisory covering 3 CVEs
before 2.62.5-4.oe1
2.62.5-4.oe1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35457 is a high vulnerability (CVSS 7.8) in Gnome Glib, published December 14, 2020. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 0.57%, the 47th percentile. Fixed in glib 2.60.1-5.

References

Show 9 moreShow less
MoveEnter Open