Home page logo

oss-sec logo oss-sec mailing list archives

Re: CVE Request -- libsndfile -- Integer overflow by processing certain PAF files
From: Jan Lieskovsky <jlieskov () redhat com>
Date: Thu, 14 Jul 2011 09:29:33 +0200

Hello Erik,

On 07/14/2011 08:49 AM, Erik de Castro Lopo wrote:
Jan Lieskovsky wrote:

    an integer overflow, leading to heap-based buffer overflow flaw was
found in the way libsndfile, library for reading and writing of sound
files, processed certain PARIS Audio Format (PAF) audio files with
crafted count of channels in the PAF file header. A remote attacker
could provided a specially-crafted PAF audio file, which once opened by
a local, unsuspecting user in an application, linked against libsndfile,
could lead to that particular application crash (denial of service),

I agree with everything up to here.

or, potentially arbitrary code execution with the privileges of the
user running the application.

but this is rubbish. The heap gets overwritten with zeros which would
certainly lead to the application segfaulting. However, there is
no way for arbitrary code to be executed on amy sane OS with proper
memory protection.

Thank you for the clarification regarding this. To be honest didn't have
chance to prepare reproducer for this issue yet, thus the initial description was based only on information from those references and upstream Bzr Changelog message.

Thanks for that correction, it's appreciated.

Regards, Jan.
Jan iankko Lieskovsky / Red Hat Security Response Team

Furthermore, Secunia when they contacted me about this said they would
release information about this vulernability on the 18th and then ended
up releasing it on the 12th instead which means I had to rush out the
release I was working on (and would have easily had ready for the
18th). That is not the way to win friends and influence people.


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]