{"schemaVersion":3,"id":"CVE-2020-35457","aliases":["DEBIAN-CVE-2020-35457"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2020-12-14T22:25:09.000Z","modified":"2024-08-04T17:02:07.975Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00574,"percentile":0.46312,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00574},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00574,"percentile":0.46312}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00574,"percentile":0.46312}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_37949B7FBD350EF2","name":"Exploit Reference (gitlab.gnome.org)","source":"reference","url":"https://gitlab.gnome.org/GNOME/glib/-/issues/2197","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"glib2.0","name":"glib2.0","label":"glib2.0","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/glib2.0","purlType":"deb","versions":[{"text":"< 2.66.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.66.0-1","eol":null,"hubHref":null},{"vendor":"gnome","product":"glib","name":"glib","label":"glib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.65.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.65.3","eol":null,"hubHref":"/vendor/gnome/glib"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.gnome.org/GNOME/glib/-/commit/63c5b62f0a984fac9a9700b12f54fe878e016a5d","label":"gitlab.gnome.org/GNOME/glib/-/commit/63c5b62f0a984fac9a9700b12f54fe878e016a5d","hostname":"gitlab.gnome.org","tags":["X Refsource MISC","Patch","Vendor Advisory"]},{"url":"https://gitlab.gnome.org/GNOME/glib/-/issues/2197","label":"gitlab.gnome.org/GNOME/glib/-/issues/2197","hostname":"gitlab.gnome.org","tags":["X Refsource MISC","Exploit","Vendor Advisory"]},{"url":"https://gitlab.gnome.org/GNOME/glib/-/releases/2.65.3","label":"gitlab.gnome.org/GNOME/glib/-/releases/2.65.3","hostname":"gitlab.gnome.org","tags":["X Refsource MISC","Release Notes","Vendor Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-35457","label":"security-tracker.debian.org/tracker/CVE-2020-35457","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35457","label":"nvd.nist.gov/vuln/detail/CVE-2020-35457","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-12-14T22:25:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T17:02:07.975Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:59:11.939Z","stale":false,"partial":false}}