CVE-2012-3374: Buffer Overflow

Published Jul 3, 2012
·
Updated

A stack-based buffer overwrite flaw was found in the way MXit protocol plug-in implementation of libPurple, the core of an instant messaging program, such as Pidgin, replaced certain custom emoticon tags with corresponding image tags by processing received RX message data, prior returning the instant message to the user interface for it's presentation to the user. A remote attacker could provide a RX message with specially-crafted emoticon tags, that when processed by the libPurple's MXit protocol plug-in by an application linked against libPurple could lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running the application.

Upstream ticket (private for now): [1] http://pidgin.im/news/security/?id=64

Patch for the problem and tarballs for v2.10.5 are available here: [2] http://pidgin.im/~markdoliner/lkFja97sFw89/

Other sources

Buffer overflow in markup.c in the MXit protocol plugin in libpurple in Pidgin before 2.10.5 allows remote attackers to execute arbitrary code via a crafted inline image in a message.

Affected Software

54 affected componentsFixes available
Pidgin Pidgin<=2.10.4
Pidgin Pidgin=2.0.0
Pidgin Pidgin=2.0.1
Pidgin Pidgin=2.0.2
Pidgin Pidgin=2.1.0
Pidgin Pidgin=2.1.1
Pidgin Pidgin=2.2.0
Pidgin Pidgin=2.2.1
Pidgin Pidgin=2.2.2
Pidgin Pidgin=2.3.0
Pidgin Pidgin=2.3.1
Pidgin Pidgin=2.4.0
Pidgin Pidgin=2.4.1
Pidgin Pidgin=2.4.2
Pidgin Pidgin=2.4.3
Pidgin Pidgin=2.5.0
Pidgin Pidgin=2.5.1
Pidgin Pidgin=2.5.2
Pidgin Pidgin=2.5.3
Pidgin Pidgin=2.5.4
Pidgin Pidgin=2.5.5
Pidgin Pidgin=2.5.6
Pidgin Pidgin=2.5.7
Pidgin Pidgin=2.5.8
Pidgin Pidgin=2.5.9
Pidgin Pidgin=2.6.0
Pidgin Pidgin=2.6.1
Pidgin Pidgin=2.6.2
Pidgin Pidgin=2.6.4
Pidgin Pidgin=2.6.5
Pidgin Pidgin=2.6.6
Pidgin Pidgin=2.7.0
Pidgin Pidgin=2.7.1
Pidgin Pidgin=2.7.2
Pidgin Pidgin=2.7.3
Pidgin Pidgin=2.7.4
Pidgin Pidgin=2.7.5
Pidgin Pidgin=2.7.6
Pidgin Pidgin=2.7.7
Pidgin Pidgin=2.7.8
Pidgin Pidgin=2.7.9
Pidgin Pidgin=2.7.10
Pidgin Pidgin=2.7.11
Pidgin Pidgin=2.8.0
Pidgin Pidgin=2.9.0
Pidgin Pidgin=2.10.0
Pidgin Pidgin=2.10.1
Pidgin Pidgin=2.10.2
Pidgin Pidgin=2.10.3
debian/pidgin<2.10.6-1
2.10.6-1
debian/pidgin<2.10.6-1
2.10.6-1
debian/pidgin<2.10.6-1
2.10.6-1
debian/pidgin
2.7.3-1+squeeze32.10.6-1
redhat/pidgin<2.10.5
2.10.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/pidgin to a version that resolves this vulnerability.

    Fixed in 2.10.6-1
  2. Upgrade

    Upgrade debian/pidgin to a version that resolves this vulnerability.

    Fixed in 2.7.3-1+squeeze3Fixed in 2.10.6-1
  3. Upgrade

    Upgrade redhat/pidgin to a version that resolves this vulnerability.

    Fixed in 2.10.5
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.10.5

Event History

Jul 3, 2012
Data Sourced
via Red Hat·12:49 PM
DescriptionSeverityAffected Software
Jul 7, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
10:21 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:21 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2012-3374?

CVE-2012-3374 has been assigned a medium to high severity rating due to the potential for remote attackers to execute arbitrary code.

2

How do I fix CVE-2012-3374?

To fix CVE-2012-3374, upgrade to Pidgin version 2.10.5 or later.

3

What software is affected by CVE-2012-3374?

CVE-2012-3374 affects multiple versions of Pidgin prior to 2.10.5.

4

How can attackers exploit CVE-2012-3374?

Attackers can exploit CVE-2012-3374 by sending a crafted inline image in a message that triggers a buffer overflow.

5

What is the nature of the vulnerability in CVE-2012-3374?

CVE-2012-3374 is a buffer overflow vulnerability in the MXit protocol plugin within Pidgin's libpurple.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203