CVE-2005-2103: Buffer overflow in Gaim AIM/ICQ away message substitution handling
- Vendor
- Gaim Project
CVE-2005-2103 is a buffer overflow vulnerability in the AIM and ICQ module of Gaim before version 1.5.0. The flaw is triggered when the client processes an away message containing a large number of AIM substitution strings such as format-style tokens used during message expansion. The vulnerable code does not correctly account for the size required after substitution, resulting in an undersized buffer and subsequent memory corruption during expansion. This can cause the application to crash and may permit arbitrary code execution in the context of the user running the client.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause denial of service by crashing the Gaim client. Because the flaw is a memory corruption issue caused by a buffer overflow, it may also enable arbitrary code execution with the privileges of the affected user, depending on exploitability and target conditions.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by avoiding use of vulnerable Gaim versions for AIM or ICQ messaging and limiting processing of untrusted away messages from remote contacts. Defense-in-depth measures such as compiler hardening and memory protection features may reduce exploit reliability but do not eliminate the vulnerability.
Remediation
Patch, then assume compromise.
Upgrade Gaim to version 1.5.0 or later, where the vulnerability is fixed. The underlying defect should be addressed by correcting buffer size calculations for away message substitution handling and ensuring allocation accounts for worst-case expansion during token replacement.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2005-2103 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2005-2103 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2005-2103?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2005-2103. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2005-2103?
- Upgrade Gaim to version 1.5.0 or later, where the vulnerability is fixed. The underlying defect should be addressed by correcting buffer size calculations for away message substitution handling and ensuring allocation accounts for worst-case expansion during token replacement.
- What products are affected by CVE-2005-2103?
- Gaim Project Gaim.
- How severe is CVE-2005-2103?
- CVE-2005-2103 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 16.1% (97th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.