Heap-based buffer overflow in PCRE - CVE-2015-5073
Published: December 13, 2016 / Updated: July 28, 2020
PCRE
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38. A remote attacker can use a crafted regular expression with an excess closing parenthesis. to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
How to mitigate CVE-2015-5073
Sources
- http://rhn.redhat.com/errata/RHSA-2016-1025.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?revision=1609&view=markup
- http://vcs.pcre.org/pcre?view=revision&revision=1571
- http://www.openwall.com/lists/oss-security/2015/06/26/1
- http://www.openwall.com/lists/oss-security/2015/06/26/3
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.securityfocus.com/bid/75430
- http://www.securitytracker.com/id/1033154
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
- https://access.redhat.com/errata/RHSA-2016:1132
- https://bugs.exim.org/show_bug.cgi?id=1651
- https://security.gentoo.org/glsa/201607-02