GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in goptiongroupaddentries. 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 goptiongroupaddentries()." The researcher states that this pattern is undocumented
{
"isDisputed": true
}[
{
"source": "https://gitlab.gnome.org/GNOME/glib@63c5b62f0a984fac9a9700b12f54fe878e016a5d",
"target": {
"file": "glib/goption.c"
},
"signature_version": "v1",
"id": "CVE-2020-35457-0c39ec47",
"digest": {
"threshold": 0.9,
"line_hashes": [
"139537024621877586421012634436740319349",
"213658572378068546980454058502973843806",
"254744378804206875485793075776936797836"
]
},
"signature_type": "Line",
"deprecated": false
},
{
"source": "https://gitlab.gnome.org/GNOME/glib@63c5b62f0a984fac9a9700b12f54fe878e016a5d",
"target": {
"file": "glib/goption.c",
"function": "g_option_group_add_entries"
},
"signature_version": "v1",
"id": "CVE-2020-35457-3c39d617",
"digest": {
"function_hash": "166990730672949992501700588065117894711",
"length": 1681.0
},
"signature_type": "Function",
"deprecated": false
}
]