Secunia Security Advisory - Secunia Research has discovered two vulnerabilities in imlib2, which can be exploited by malicious people to cause a DoS (Denial of Service) or compromise an application using the library.
dd57094ff16ab061a3ca2291f920f986c0da3f45cc9f53ea0961e1587cb2eb76
----------------------------------------------------------------------
Secunia Network Software Inspector 2.0 (NSI) - Public Beta
The Public Beta has ended. Thanks to all that participated.
Learn more:
http://secunia.com/network_software_inspector_2/
----------------------------------------------------------------------
TITLE:
imlib2 PNM and XPM Buffer Overflow Vulnerabilities
SECUNIA ADVISORY ID:
SA30401
VERIFY ADVISORY:
http://secunia.com/advisories/30401/
CRITICAL:
Highly critical
IMPACT:
DoS, System access
WHERE:
>From remote
SOFTWARE:
imlib2 1.x
http://secunia.com/product/3880/
DESCRIPTION:
Secunia Research has discovered two vulnerabilities in imlib2, which
can be exploited by malicious people to cause a DoS (Denial of
Service) or compromise an application using the library.
1) A boundary error exists within the "load()" function in
src/modules/loaders/loader_pnm.c when processing the header of a PNM
image file. This can be exploited to cause a stack-based buffer
overflow by e.g. tricking a user into opening a specially crafted PNM
image in an application using the imlib2 library.
Successful exploitation allows execution of arbitrary code.
2) A boundary error exists within the "load()" function in
src/modules/loader_xpm.c when processing an XPM image file. This can
be exploited to cause a stack-based buffer overflow by e.g. tricking
a user into opening a specially crafted XPM image in an application
using the imlib2 library.
Successful exploitation may allow execution of arbitrary code.
The vulnerabilities are confirmed in version 1.4.0. Other versions
may also be affected.
SOLUTION:
Fixed in the CVS repository.
PROVIDED AND/OR DISCOVERED BY:
Stefan Cornelius, Secunia Research.
ORIGINAL ADVISORY:
Secunia Research:
http://secunia.com/secunia_research/2008-25/
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------