Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200511-23 ] chmlib, KchmViewer: Stack-based buffer overflow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1571

PostPosted: Mon Nov 28, 2005 10:35 am    Post subject: [ GLSA 200511-23 ] chmlib, KchmViewer: Stack-based buffer ov Reply with quote

Gentoo Linux Security Advisory

Title: chmlib, KchmViewer: Stack-based buffer overflow (GLSA 200511-23)
Severity: normal
Exploitable: remote
Date: November 28, 2005
Updated: May 28, 2009
Bug(s): #110557
ID: 200511-23

Synopsis

chmlib and KchmViewer contain a buffer overflow vulnerability which may lead to the execution of arbitrary code.

Background

chmlib is a library for dealing with Microsoft ITSS and CHM format files. KchmViewer is a CHM viewer that includes its own copy of the chmlib library.

Affected Packages

Package: dev-libs/chmlib
Vulnerable: < 0.37.4
Unaffected: >= 0.37.4
Architectures: All supported architectures

Package: app-text/kchmviewer
Vulnerable: < 1.1
Unaffected: >= 1.1
Architectures: All supported architectures


Description

Sven Tantau reported about a buffer overflow vulnerability in chmlib. The function "_chm_decompress_block()" does not properly perform boundary checking, resulting in a stack-based buffer overflow.

Impact

By convincing a user to open a specially crafted ITSS or CHM file, using KchmViewer or a program makes use of chmlib, a remote attacker could execute arbitrary code with the privileges of the user running the software.

Workaround

There is no known workaround at this time.

Resolution

All chmlib users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/chmlib-0.37.4"
All KchmViewer users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/kchmviewer-1.1"


References

CVE-2005-3318


Last edited by GLSA on Fri May 29, 2009 4:17 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum