# CVE-2020-35457: GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in goptiongroupaddentries.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-14T22:25:09.000Z
- Modified: 2026-06-17T03:13:44.550Z
- Weaknesses: CWE-190, CWE-787
- Assigned by: mitre

## 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnome glib: before 2.65.3

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://gitlab.gnome.org/GNOME/glib/-/issues/2197> (exploit, vendor-advisory)
- <https://gitlab.gnome.org/GNOME/glib/-/commit/63c5b62f0a984fac9a9700b12f54fe878e016a5d> (patch, vendor-advisory)
- <https://gitlab.gnome.org/GNOME/glib/-/releases/2.65.3> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2020-35457](https://www.cve.org/CVERecord?id=CVE-2020-35457), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-35457](https://nvd.nist.gov/vuln/detail/CVE-2020-35457), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35457 · Whole record: https://cve.day/CVE-2020-35457.json · Rebuilt by cve.day 2026-11-25T22:57:56.235Z
