Out-of-bounds read in PCRE - CVE-2015-2325

 

Out-of-bounds read in PCRE - CVE-2015-2325

Published: January 14, 2020 / Updated: July 17, 2020


Vulnerability identifier: #VU30441
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-2325
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

PCRE
Amazon Linux AMI
Slackware Linux

How to mitigate CVE-2015-2325

Update to version 8.37.

PCRE - update to 8.37

External References

Related Security Bulletins