Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Security)  >   Kaspersky Anti-Virus Vendors:   Kaspersky Lab
Kaspersky Anti-Virus Buffer Overflow in Processing CHM Files Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015030
SecurityTracker URL:
CVE Reference:   CVE-2005-2937   (Links to External Site)
Date:  Oct 10 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): On-Demand Scanner for Linux 5.0.5
Description:   iDEFENSE reported a vulnerability in Kaspersky Anti-Virus. A remote user can execute arbitrary code on the target system.

The anti-virus engine does not properly parse CHM files. A remote user can create a specially crafted CHM file that, when scanned by the target system, will trigger a buffer overflow and execute arbitrary code. The code will run with the privileges of the target anti-virus process.

The vendor was notified on June 20, 2005.

The original advisory is available at:

Impact:   A remote user can execute arbitrary code on the target system with the privileges of the target anti-virus process.
Solution:   The vendor has issued a fix, available via the signature update feature. Signatures issued since July 2005 contain the update.
Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Any)

Message History:   None.

 Source Message Contents

Subject:  iDEFENSE Security Advisory 10.10.05: Kaspersky Anti-Virus Engine CHM

Kaspersky Anti-Virus Engine CHM File Parser Buffer Overflow

iDEFENSE Security Advisory 10.10.05
October 10, 2005


Kaspersky Anti-Virus Engine (KAV) is a popular virus scanning engine 
for Windows and Linux. The Kaspersky Anti-Virus Engine is commonly 
included in various vendors' network mail gateway and host-based anti-
virus products. 


Remote exploitation of a buffer overflow vulnerability in Kaspersky 
Labs' Anti-Virus Engine allows remote attackers to execute arbitrary 
code. Kaspersky Anti-Virus Engine is used by multiple vendors in Linux 
virus scanner products and exploitation requires minimal interaction by 
a targeted user.

The Kasperksy Anti-Virus Engine (KAV) is found in many gateway and 
host-based anti-virus scanners. The vulnerability specifically exists 
in the CHM file parser within the KAV engine. When a corrupt CHM file 
is scanned by the KAV engine, a heap overflow can occur which allows 
remote attackers to execute arbitrary code with permissions of the 
anti-virus application's process, usually user privileges. On Microsoft 
platforms, affected software has not been shown to execute arbitrary 
code, however Kaspersky Anti-Virus will fail to scan any files after a 
corrupt CHM file has been encountered, thus allowing further malicious 
codes to reach the target.


Successful exploitation of the vulnerability can result in remote 
arbitrary code execution or the disabling of anti-virus functionality. 
In the case of Linux platforms, specifically network gateways, user 
interaction is not required and can lead to the compromise of trusted 
systems. In addition, compromising mail gateways can lead to further 
compromise of internal hosts by injecting malicious code into mail 


iDEFENSE Labs has confirmed the existence of this vulnerability in the 
following products (tested April 2005):

    * Kaspersky Personal 5.0.227
    * Kaspersky Anti-Virus On-Demand Scanner for Linux 5.0.5
    * F-Secure Anti-Virus for Linux 4.50

All products utilizing the Kaspersky Anti-Virus engine are potentially 

The vendor has notified iDEFENSE that the vulnerability has been 
addressed via a signature update. Users who have updated their 
signatures after July 2005 are reportedly not affected.    


iDEFENSE is currently unaware of any effective workarounds for this 


The vendor has notified iDEFENSE that the vulnerability has been 
addressed via a signature update. Users who have updated their 
signatures after July 2005 are reportedly not affected. Update your 
anti-virus signatures to ensure the vulnerability has been addressed.


The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-2937 to this issue. This is a candidate for inclusion in
the CVE list (, which standardizes names for
security problems.


06/20/2005  Initial vendor notification
10/05/2005  Initial vendor response
10/10/2005  Public disclosure


The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright (c) 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC