glib2.0 — security advisory
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
- Products
- glib2.0
- Affected versions
- Not specified
- Fixed versions
- 2.66.0-1
- CVEs
- CVE-2020-35457
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:14 UTC · Revision 1
Source evidence
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
osv:DEBIAN-CVE-2020-35457
glib2.0
Fixed versions: 2.66.0-1
glib2.0
Fixed versions: 2.66.0-1
glib2.0
Fixed versions: 2.66.0-1
Complete source record
{
"id": "18c17ee44b716f9fd4eb07aa59e31a042c6f2141675e4819d5ada4238de7dc41",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-35457",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-35457",
"summary": "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",
"evidence": "osv:DEBIAN-CVE-2020-35457",
"products": [
{
"name": {
"value": "glib2.0",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.66.0-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "glib2.0",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.66.0-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "glib2.0",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.66.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-35457",
"aliases": [
"DEBIAN-CVE-2020-35457"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.66.0-1"
}
]
}
],
"package": {
"name": "glib2.0",
"purl": "pkg:deb/debian/glib2.0?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35457.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.66.0-1"
}
]
}
],
"package": {
"name": "glib2.0",
"purl": "pkg:deb/debian/glib2.0?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35457.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.66.0-1"
}
]
}
],
"package": {
"name": "glib2.0",
"purl": "pkg:deb/debian/glib2.0?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35457.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-26T12:01:59.958960290Z",
"provider": "osv",
"upstream": [
"CVE-2020-35457"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-35457"
]
},
"related_cves": [
{
"value": "CVE-2020-35457",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451952,
"published_at": "2020-12-14T23:15:12.173+00:00"
}