Secunia Logo
 
CHM Lib Multiple Buffer Overflow Vulnerabilities
Secunia Advisory: SA17325
Release Date: 2005-10-26
Last Update: 2005-11-08
Popularity: 7,690 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:CHM Lib (chmlib) 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2659
CVE-2005-2930
CVE-2005-3318


Description:
Some vulnerabilities have been reported in CHM Lib (chmlib), which potentially can be exploited by malicious people to compromise a user's system.

1) A boundary error exists in the "_chm_decompress_block()" function when reading input from a ".chm" file into a stack buffer. This can be exploited to cause a stack-based buffer overflow and may allow arbitrary code execution via a specially crafted ".chm" file.

The vulnerability has been reported in version 0.36 and prior.

2) A boundary error exists in the "_chm_find_in_PMGL()" function when reading input from a ".chm" file into a stack buffer. This can be exploited to cause a stack-based buffer overflow and may allow arbitrary code execution via a specially crafted ".chm" file.

3) An unspecified boundary error exists when performing LZX decompression. This may be exploited to cause a buffer overflow.

Vulnerability #2 and #3 has been reported in version 0.35.

Note: The vulnerabilities potentially affect other applications that use the library.

Solution:
Update to version 0.37.
http://morte.jedrea.com/~jedwin/projects/chmlib/

Provided and/or discovered by:
1) Sven Tantau
2) Discovered by anonymous and reported via iDEFENSE.
3) Palasik Sandor

Changelog:
2005-10-31: Added information of additional vulnerabilities. Updated "Description", "Original Advisory" and credit sections.
2005-11-07: Added CVE reference.
2005-11-08: Added CVE reference.

Original Advisory:
Sven Tantau:
http://www.sven-tantau.de/public_files/chmlib/chmlib_20051126.txt

iDEFENSE:
http://www.idefense.com/application/poi/display?id=332&type=vulnerabilities


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Apple iPhone / iPod touch Multiple Vulnerabilities // 136 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 47 views
3. Checkpoint VPN-1 Information Disclosure Vulnerability // 37 views
4. vBulletin Visitor Messages Script Insertion Vulnerability // 32 views
5. Zeroboard Multiple Vulnerabilities // 32 views
6. EMC Control Center SAN Manager Multiple Vulnerabilities // 30 views
7. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 30 views
8. Easyedit CMS Multiple SQL Injection Vulnerabilities // 29 views
9. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 27 views
10. Fedora update for thunderbird // 26 views