Buffer overflow in Gaim AIM/ICQ away message substitution handling
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.