Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Jan 2013 10:32:16 -0500 (EST)
From: Jan Lieskovsky <>
Cc: "Steven M. Christey" <>,
        Jan Wielemaker <>, Petr Pisar <>
Subject: CVE Request - SWI-Prolog / pl (X < 6.2.5): Multiple (stack-based)
 buffer overflows in patch canonisation code and when expanding file-names
 with long paths

Hello Kurt, Steve, vendors,

  SWI-Prolog upstream has released [2] 6.2.5 / 6.3.7 versions,
correcting the following two security flaws:

* Issue #1 (from [2]):
* FIXED: Possible buffer overrun in patch canonisation code.
Pushes pointers on an automatic array without checking for
overflow.  Can be used for DoS attacks. Will be extremely
hard to make it execute arbitrary code.

Relevant upstream patch:


* Issue #2 - from [2]:
* SECURITY: Possible buffer overflows when expanding file-names with
long paths.  Affects expand_file_name/2.  Can lead to crashes
(DoS attacks) and possibly execution of arbitrary code if an attacker
can control the names of the files searched for, e.g., if
expand_file_name/2 is used in a directory to which an attacker can
upload files for which he can control the name.

Relevant upstream patch:


Could you allocate CVE ids for these? (iilc two should be

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

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.