Philip Hazel PCRE up to 8.38 pcre_compile.c compile_branch memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.5$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Philip Hazel PCRE up to 8.38. Impacted is the function compile_branch of the file pcre_compile.c. The manipulation leads to memory corruption. This vulnerability is listed as CVE-2016-3191. The attack may be initiated remotely. There is no available exploit. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Philip Hazel PCRE up to 8.38 (Programming Tool Software) and classified as critical. This issue affects the function compile_branch of the file pcre_compile.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.

The weakness was presented 03/18/2016 as ZDI-CAN-3542 as confirmed bug report (Bugzilla) via ZDI (Zero Day Initiative). It is possible to read the advisory at bugzilla.redhat.com. The identification of this vulnerability is CVE-2016-3191 since 03/15/2016. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 90050 (FreeBSD : pcre -- stack buffer overflow (7033b42d-ef09-11e5-b766-14dae9d210b8)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157182 (Oracle Enterprise Linux Security Update for pcre (ELSA-2016-1025)).

Upgrading to version 8.39 eliminates this vulnerability. A possible mitigation has been published 3 days after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 24049.

The vulnerability is also documented in the databases at X-Force (111583), Tenable (90050), SecurityFocus (BID 84810†) and Vulnerability Center (SBV-57659†). See VDB-75695, VDB-79381, VDB-79382 and VDB-79384 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.1

VulDB Base Score: 9.8
VulDB Temp Score: 8.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 90050
Nessus Name: FreeBSD : pcre -- stack buffer overflow (7033b42d-ef09-11e5-b766-14dae9d210b8)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 881932
OpenVAS Name: CentOS Update for pcre CESA-2016:1025 centos7
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍

Upgrade: PCRE 8.39
TippingPoint: 🔍

Timelineinfo

03/15/2016 🔍
03/17/2016 +2 days 🔍
03/17/2016 +0 days 🔍
03/17/2016 +0 days 🔍
03/18/2016 +1 days 🔍
03/18/2016 +0 days 🔍
03/21/2016 +3 days 🔍
03/21/2016 +0 days 🔍
03/23/2016 +2 days 🔍
02/02/2019 +1046 days 🔍

Sourcesinfo

Advisory: ZDI-CAN-3542
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-3191 (🔍)
GCVE (CVE): GCVE-0-2016-3191
GCVE (VulDB): GCVE-100-81383
X-Force: 111583 - PCRE and PCRE2 pcre_compile.c buffer overflow
SecurityFocus: 84810 - PCRE CVE-2016-3191 Buffer Overflow Vulnerability
Vulnerability Center: 57659 - PCRE 8 - 8.38 and PCRE2 <10.22 Remote Code Execution Vulnerability, Medium

See also: 🔍

Entryinfo

Created: 03/18/2016 08:45
Updated: 02/02/2019 11:29
Changes: 03/18/2016 08:45 (83), 02/02/2019 11:29 (12)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!