#VU33236 Heap-based buffer overflow in PCRE - CVE-2016-1283


| Updated: 2020-08-03

Vulnerability identifier: #VU33236

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-1283

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PCRE
Universal components / Libraries / Libraries used by multiple products

Vendor: PCRE

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'){97)?J)?J)(?'R'(?'R'){99|(:(?|(?'R')(k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which. 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.

Mitigation
Update to version 8.39.

Vulnerable software versions

PCRE: 8.38


External links
https://lists.fedoraproject.org/pipermail/package-announce/2016-March/178193.html
https://lists.fedoraproject.org/pipermail/package-announce/2016-March/178955.html
https://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
https://www.securityfocus.com/bid/79825
https://www.securitytracker.com/id/1034555
https://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.343110
https://access.redhat.com/errata/RHSA-2016:1132
https://bto.bluecoat.com/security-advisory/sa128
https://bugs.exim.org/show_bug.cgi?id=1767
https://security.gentoo.org/glsa/201607-02
https://www.tenable.com/security/tns-2016-18
https://www.tenable.com/security/tns-2017-14


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability