CVE-2016-1283Improper Restriction of Operations within the Bounds of a Memory Buffer in Pcre

Severity
9.8CRITICALNVD
OSV6.8OSV5.0
EPSS
2.5%
top 14.61%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 3
Latest updateJan 13

Description

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 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

NVDpcre/pcre8.38
NVDphp/php5.6.05.6.32+2
NVDoracle/solaris11.3

Also affects: Fedora 22, 23

🔴Vulnerability Details

5
OSV
libxmltok vulnerabilities2025-01-13
OSV
libxmltok vulnerabilities2022-07-19
GHSA
GHSA-3v53-2g4c-6vpg: The pcre_compile2 function in pcre_compile2022-05-13
CVEList
CVE-2016-1283: The pcre_compile2 function in pcre_compile2016-01-03
OSV
CVE-2016-1283: The pcre_compile2 function in pcre_compile2016-01-03

📋Vendor Advisories

4
Red Hat
expat: Undefined behavior and pointer overflows2016-05-15
Ubuntu
PCRE vulnerabilities2016-03-29
Red Hat
pcre: heap buffer overflow in handling of duplicate named groups (8.39/14)2016-01-04
Debian
CVE-2016-1283: pcre2 - The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?...2016

🕵️Threat Intelligence

1
Tenable
[R1] SecurityCenter 5.6.0.1 Fixes Multiple Third-party Vulnerabilities2017-11-14

💬Community

3
Bugzilla
CVE-2016-4472 expat: Undefined behavior and pointer overflows2016-06-09
Bugzilla
CVE-2016-1283 pcre: heap buffer overflow in handling of duplicate named groups (8.39/14)2016-01-04
Bugzilla
CVE-2016-1283 pcre: Heap buffer overflow in pcre_compile2 causes DoS [fedora-all]2016-01-04
CVE-2016-1283 — Pcre vulnerability | cvebase