lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20100505191226.GA1588@ecn.lan>
Date: Wed, 5 May 2010 15:12:26 -0400
From: Michael Santos <michael.santos@...il.com>
To: bugtraq@...urityfocus.com
Subject: PCRE compile workspace overflow


In versions of the PCRE regular expression library before 8.02, compiling
a very large regular expression will overflow the workspace buffer.

Although the code checks for the size of the compiled regular expression,
the check only returns true after the end of the buffer has been
overrun. The bug was fixed in PCRE 8.02 with this patch:

    http://vcs.pcre.org/viewvc/code/trunk/pcre_compile.c?r1=504&r2=505&view=patch

This example will cause a 2 byte overflow:

~$ perl -e 'print "/","("x819, ")"x819, "/"' | pcretest

Original Bug Report:

    http://bugs.exim.org/show_bug.cgi?id=962


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ