CVE-2016-1283: 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…

CVE-2016-1283 affects 12 listed versions of PHP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
8%EPSS (next 30 days)
3 January 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

12 of 250 listed versions are affected. Fixed in 7.0.25, 5.6.32. The newest release, 8.6.0, is not affected.

7.0.24 7.0.23 7.0.22 7.0.21 7.0.20 7.0.19 5.6.31 5.6.30 5.6.29 5.6.28 5.6.27 5.6.26

What it is

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 3 January 2016. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2016-1283 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.