Secunia Research: Csound pv_import Integer Overflow Vulnerability

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

                     Secunia Research 04/04/2012

         - Csound pv_import Integer Overflow Vulnerability -

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

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

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

* Csound 5.16.6

NOTE: Other versions may also be affected.

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

Rating: Moderately critical
Impact: System access
Where:  Remote

======================================================================
3) Vendor's Description of Software 

"Csound is a sound design, audio synthesis, and signal processing
system, providing facilities for music composition and performance
on all major operating systems and platforms.".

Product Link:
http://www.csounds.com/

====================================================================== 
4) Description of Vulnerability

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

The vulnerability is caused due to an integer overflow error in the
pv_import utility within the "pv_import()" function (util/pv_import.c)
and can be exploited to cause a heap-based buffer overflow.

Successful exploitation may allow execution of arbitrary code, but
requires tricking a user into converting a malicious file.

====================================================================== 
5) Solution 

Do not process files from untrusted sources.

====================================================================== 
6) Time Table 

19/01/2012 - Vendor notified.
13/02/2012 - Vendor releases fixed version.
06/03/2012 - Vendor notified regarding incomplete fixes.
04/04/2012 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has not yet
assigned a CVE identifier for the vulnerability.

====================================================================== 
9) 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/

====================================================================== 
10) Verification 

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

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

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