Heap-based buffer overflow in PCRE - CVE-2014-8964

 

Heap-based buffer overflow in PCRE - CVE-2014-8964

Published: December 16, 2014 / Updated: August 3, 2020


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

Vulnerability details

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 PCRE 8.36 and earlier. A remote attacker can use a crafted regular expression 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.


Affected software

PCRE
Amazon Linux AMI
Fedora
pcre (Alpine package)
mingw-pcre
pcre

How to mitigate CVE-2014-8964

Update to version 8.37.

PCRE - update to 8.37
pcre (Alpine package) - update to 8.33-r2
mingw-pcre - addressed in versions 8.35-1.el7, 8.35-1.fc21
pcre - update to 8.35-8.fc21

External References

Related Security Bulletins