Secunia Research: IrfanView GIF Image Processing Buffer Overflow Vulnerability

======================================================================
 
                    Secunia Research 17/12/2013

   IrfanView GIF Image Processing Buffer Overflow Vulnerability

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Description of Vulnerability.........................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Secunia........................................................8
Verification.........................................................9

======================================================================
1) Affected Software

* IrfanView 4.36

NOTE: Prior versions may also be affected.

======================================================================
2) Severity 

Rating: Highly critical
Impact: System Access
Where:  From remote
 
====================================================================== 
3) Description of Vulnerability

Secunia Research has discovered a vulnerability in IrfanView, which
can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to a boundary error when handling the
LZW code stream within GIF files and can be exploited to cause a
heap-based buffer overflow via a specially crafted GIF file.

Successful exploitation allows execution of arbitrary code.

======================================================================
4) Solution 

Update to version 4.37.

======================================================================
5) Time Table 

26/11/2013 - Vendor notified.
27/11/2013 - Vendor response and provision of a test version.
29/11/2013 - Vendor notified about test version fixing the issue.
16/12/2013  Release of fixed version.
17/12/2013  Public disclosure.

======================================================================
6) Credits 

Discovered by Dmitry Janushkevich, Secunia Research.

======================================================================
7) References

The Common Vulnerabilities and Exposures (CVE) project has assigned
the CVE-2013-5351 identifier for the vulnerability.
 
======================================================================
8) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://secunia.com/advisories/business_solutions/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/advisories/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://secunia.com/secunia_research/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/corporate/jobs/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/advisories/mailing_lists/

======================================================================
9) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2013-13/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================