CVE-2008-4316 Integer overflow in n/a
Integer overflows in GLib's base64 handling allow remote attackers to execute arbitrary code via crafted long strings.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-4316?
CVE-2008-4316 is a medium-severity vulnerability in n/a, published on 14 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-189
Which versions are affected by CVE-2008-4316?
It affects 1 product.
Linux distribution packages (8)
glib2 Red Hat:enterprise_linux:5::client | All versions | 0:2.12.3-4.el5_3.1 |
glib2-debuginfo Red Hat:enterprise_linux:5::client | All versions | 0:2.12.3-4.el5_3.1 |
glib2 Red Hat:enterprise_linux:5::client_workstation | All versions | 0:2.12.3-4.el5_3.1 |
glib2-debuginfo Red Hat:enterprise_linux:5::client_workstation | All versions | 0:2.12.3-4.el5_3.1 |
glib2-devel Red Hat:enterprise_linux:5::client_workstation | All versions | 0:2.12.3-4.el5_3.1 |
glib2 Red Hat:enterprise_linux:5::server | All versions | 0:2.12.3-4.el5_3.1 |
glib2-debuginfo Red Hat:enterprise_linux:5::server | All versions | 0:2.12.3-4.el5_3.1 |
glib2-devel Red Hat:enterprise_linux:5::server | All versions | 0:2.12.3-4.el5_3.1 |
Products include Gnome Glib.
How do I fix CVE-2008-4316?
Upgrade to a fixed version.
Is CVE-2008-4316 being exploited?
There is no known exploitation of CVE-2008-4316 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2020-35457 Integer overflow in n/a
- CVE-2009-3289 Privilege escalation in n/a
- CVE-2025-13601 Glib: integer overflow in in g_escape_uri_string()
- CVE-2026-58016 Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
- CVE-2025-4056 Glib: glib crash after long command line
Sources
Also known as DEBIAN-CVE-2008-4316, DSA-1747-1, GHSA-96v6-2hh2-wxrr, RHSA-2009:0336.