search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Yahoo! Messenger webcam stream heap overflow

Vulnerability Note VU#515968

Original Release Date: 2007-08-17 | Last Revised: 2007-08-28


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.

Vendor Information

Expand all

Yahoo, Inc.

Updated:  August 17, 2007



Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


There are no additional comments at this time.

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

CVSS Metrics

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



This vulnerability was publicly disclosed by team509.

This document was written by Will Dormann.

Other Information

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

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.