BreachSpiderVerified, not vibes

CVE-2020-35457 in Gnome Glib

High 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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.8
EPSS0.6%
EPSS percentile42th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gnome Glib < 2.65.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-35457
BreachSpider IDBS-2020-GLOBAL-150289-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2020-12-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-190

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

GNOME GLib before 2.65.3 contains an integer overflow vulnerability in the g_option_group_add_entries function, which could lead to an out-of-bounds write. The vendor considers this not a security issue due to the expected usage pattern, but the researcher argues that this pattern is undocumented.

The vulnerability arises from an integer overflow in the g_option_group_add_entries function, which could allow an attacker to write data outside the bounds of an allocated buffer if a large number of option entries is provided.

Questions

What is CVE-2020-35457?

GNOME GLib before 2.65.3 contains an integer overflow vulnerability in the g_option_group_add_entries function, which could lead to an out-of-bounds write. The vendor considers this not a security issue due to the expected usage pattern, but the researcher argues that this pattern is undocumented.

What is the CVSS score for CVE-2020-35457?

CVE-2020-35457 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.

Is CVE-2020-35457 actively exploited?

No confirmed active exploitation of CVE-2020-35457 as of 2026-09-25.

How do I remediate CVE-2020-35457?

Priority: MEDIUM. Advisory: https://gitlab.gnome.org/GNOME/glib/-/commit/63c5b62f0a984fac9a9700b12f54fe878e016a5d

What systems are affected by CVE-2020-35457?

CVE-2020-35457 affects Gnome Glib.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gnome","product":"Glib","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.