Vulnerability Note VU#515968

Yahoo! Messenger webcam stream heap overflow

Original Release date: 17 Aug 2007 | Last revised: 28 Aug 2007


Yahoo! Messenger fails to properly handle webcam streams, which may allow a remote attacker to execute arbitrary code.


Yahoo! Messenger is an instant messaging application that is available for Windows, Mac, Unix, web, and mobile systems. Some version of Yahoo! Messenger, such as the Windows and Mac versions, support webcam use. When Yahoo! Messenger views a webcam stream, it makes a connection to port 5100/tcp. The webcam video stream is sent as a JPEG 2000 code stream. Yahoo! Messenger appears to require user interaction to connect a webcam stream.

Yahoo! Messenger contains a heap overflow in the handling of a malformed JPEG 2000 code streams. Exploit code that causes a denial of service is publicly available.


A remote attacker may be able to execute arbitrary code with the privileges of the user running Yahoo! Messenger. This vulnerability may also cause a denial of service by causing Yahoo! Messenger to crash.


Apply an update
This issue is addressed by the Yahoo! Webcam Security Update. Versions of Yahoo! Messenger downloaded after August 21, 2007 contain kdv_v32M.dll version and ywcvwr.dll version, which address the vulnerability.

Restrict network access

This vulnerability can be mitigated by blocking outgoing connections to 5100/tcp. This appears to prevent Yahoo! Messenger from connecting to a webcam stream.

Do not accept webcam invitations

Until this vulnerability has been addressed by the vendor, do not accept any Yahoo! Messenger webcam invitations, regardless of the source.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Yahoo, Inc.Affected-17 Aug 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



This vulnerability was publicly disclosed by team509.

This document was written by Will Dormann.

Other Information

  • CVE IDs: CVE-2007-4391
  • Date Public: 15 Aug 2007
  • Date First Published: 17 Aug 2007
  • Date Last Updated: 28 Aug 2007
  • Severity Metric: 7.70
  • Document Revision: 9


If you have feedback, comments, or additional information about this vulnerability, please send us email.