Multiple integer overflows in glib/gbase64.c in GLib before 2.20 allow context-dependent…
Priority LOW 22CWE-189Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
Multiple integer overflows in glib/gbase64.c in GLib before 2.20 allow context-dependent attackers to execute arbitrary code via a long string that is converted either (1) from or (2) to a base64 representation.
Why it matters now
EPSS 0.00494 42nd percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:* | up to 2.16.4 | Vulnerable | GNOME |
| cpe:2.3:a:gnome:glib:2.2.1:*:*:*:*:*:*:* | 2.2.1 | Vulnerable | GNOME |
| cpe:2.3:a:gnome:glib:2.14.5:*:*:*:*:*:*:* | 2.14.5 | Vulnerable | GNOME |
| cpe:2.3:a:gnome:glib:2.14.6:*:*:*:*:*:*:* | 2.14.6 | Vulnerable | GNOME |
| cpe:2.3:a:gnome:glib:2.16.3:*:*:*:*:*:*:* | 2.16.3 | Vulnerable | GNOME |
- cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:* Versions up to 2.16.4 Vulnerable ·GNOME
- cpe:2.3:a:gnome:glib:2.2.1:*:*:*:*:*:*:* Versions 2.2.1 Vulnerable ·GNOME
- cpe:2.3:a:gnome:glib:2.14.5:*:*:*:*:*:*:* Versions 2.14.5 Vulnerable ·GNOME
- cpe:2.3:a:gnome:glib:2.14.6:*:*:*:*:*:*:* Versions 2.14.6 Vulnerable ·GNOME
- cpe:2.3:a:gnome:glib:2.16.3:*:*:*:*:*:*:* Versions 2.16.3 Vulnerable ·GNOME
Remediation
Red Hat 1 advisory
- RHSA-2009:0336 Released 2009-03-24 · Red Hat rating Moderateglib2 security update
- Red Hat Enterprise Linux (v. 5 server) glib2-2.12.3-4.el5_3.1, glib2-2.12.3-4.el5_3.1.i386, glib2-2.12.3-4.el5_3.1.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) glib2-2.12.3-4.el5_3.1, glib2-2.12.3-4.el5_3.1.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) glib2-2.12.3-4.el5_3.1, glib2-devel-2.12.3-4.el5_3.1, glib2-devel-2.12.3-4.el5_3.1.i386
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2009:0336 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2009:0336 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2009:0336 |
Timeline
- 2026-10-02 Threatist record created from CVE-2008-4316
- 2026-10-03 Alias added: GHSA-96v6-2hh2-wxrr
References
Patch 3
Advisory 7
Other 7
- [oss-security] 20090317 Re: [oCERT-2008-015] glib and glib-predecessor heap overflows
- [security-announce] 20100303 VMSA-2010-0004 ESX Service Console and vMA third party updates
- http://wiki.rpath.com/Advisories:rPSA-2009-0045
- oval:org.mitre.oval:def:11401
- oval:org.mitre.oval:def:8360
- ADV-2010-0528
- http://www.ocert.org/advisories/ocert-2008-015.html
More GNOME Glib vulnerabilities
- TI-2026-41775 Glib: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list" CVSS 3.1HIGH 8.6
- TI-2026-41772 Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime CVSS 3.1HIGH 7.5
- TI-2025-03596 Glib: glib crash after long command line CVSS 3.1HIGH 7.5
- TI-2023-15942 Gvariant deserialisation does not match spec for non-normal data CVSS 3.1MEDIUM 5.5
- TI-2024-35203 gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant… CVSS 3.1CRITICAL 9.8
- TI-2018-11777 In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference. CVSS 3.0CRITICAL 9.8
Sources
- CVE-2008-4316 · CVE Program
- CVE-2008-4316 · NVD
- FIRST EPSS
- GHSA-96v6-2hh2-wxrr · GitHub Advisory Database · CC BY 4.0
- CVE-2008-4316 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences