Out-of-bounds read in PCRE - CVE-2015-2325
Published: January 14, 2020 / Updated: July 17, 2020
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary error in the compile_branch function. A remote attacker can create a regular expression with a group containing a forward reference repeated a large number of times within a repeated outer group that has a zero minimum quantifier, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.
Affected software
Amazon Linux AMI
Ubuntu
Slackware Linux
libpcre3 (Ubuntu package)
How to mitigate CVE-2015-2325
libpcre3 (Ubuntu package) - addressed in versions 8.12-4ubuntu0.1, 1:8.31-2ubuntu2.1, 2:8.35-3.3ubuntu1.1