Pcre vulnerabilities, page 3

65 vulnerabilities

Known vulnerabilities in Pcre products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 4 products.

9.1CriticalCVE-2022-1587Alpine Linuxalpine · pcre2 +27 morealpine pcre2An out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers.EPSS2.77%9.1CriticalCVE-2022-1586Alpine Linuxalpine · pcre2 +110 morealpine pcre2An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.EPSS3.37%7.5HighCVE-2022-41409Alpine Linuxalpine · pcre2 +18 morealpine pcre2Integer overflow vulnerability in pcre2test before 10.41 allows attackers to cause a denial of service or other unspecified impacts via negative input.EPSS1.12%5.5MediumCVE-2017-16231Alpine Linuxalpine · pcre +3 morealpine pcreIn PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the function match() in pcre_exec.c because of a self-recursive call. NOTE: third parties dispute the relevance of this report, noting that there are options that can be used to limit the amount of stack that is usedEPSS0.54%7.8HighCVE-2017-11164Alpine Linuxalpine · pcre +3 morealpine pcreIn PCRE 8.41, the OP_KETRMAX feature in the match function in pcre_exec.c allows stack exhaustion (uncontrolled recursion) when processing a crafted regular expression.EPSS3.08%5.5MediumCVE-2017-7244Alpine Linuxalpine · pcre +3 morealpine pcreThe _pcre32_xclass function in pcre_xclass.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (invalid memory read) via a crafted file.EPSS1.99%7.8HighCVE-2017-7245Alpine Linuxalpine · pcre +2 morealpine pcreStack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 4) or possibly have unspecified other impact via a crafted file.EPSS2.37%7.8HighCVE-2017-7246Alpine Linuxalpine · pcre +2 morealpine pcreStack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 268) or possibly have unspecified other impact via a crafted file.EPSS2.60%7.5HighCVE-2017-7186Alpine Linuxalpine · pcre +6 morealpine pcrelibpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.EPSS5.03%7.5HighCVE-2017-6004debian · pcre3 +2 moredebian pcre3The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.EPSS4.55%9.8CriticalCVE-2017-8786debian · pcre2 +2 moredebian pcre2pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.EPSS4.07%9.8CriticalCVE-2017-8399ubuntu · pcre2 +1 moreubuntu pcre2PCRE2 before 10.30 has an out-of-bounds write caused by a stack-based buffer overflow in pcre2_match.c, related to a "pattern with very many captures."EPSS3.12%7.5HighCVE-2019-20838apple · macos +4 moreapple macoslibpcre in PCRE before 8.43 allows a subject buffer over-read in JIT when UTF is disabled, and \X or \R has more than one fixed quantifier, a related issue to CVE-2019-20454.EPSS2.77%7.5HighCVE-2019-20454debian · pcre2 +15 moredebian pcre2An out-of-bounds read was discovered in PCRE before 10.34 when the pattern \X is JIT compiled and used to match specially crafted subjects in non-UTF mode. Applications that use PCRE to parse untrusted input may be vulnerable to this flaw, which would allow an attacker to crash the application. The flaw occurs in do_extuni_no_utf in pcre2_jit_compile.c.EPSS1.56%8.2HighCVE-2026-86145Alpine Linuxalpine · pcre2 +5 morealpine pcre2PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set through the API).EPSS0.39%7.6HighCVE-2026-103111Alpine Linuxalpine · pcre2 +11 morealpine pcre2PCRE2 before 10.49, when there is an attacker-controlled regular expression and certain JIT API usage, allows an out-of-bounds write with arbitrary data.EPSS0.21%3.3LowCVE-2026-89162Alpine Linuxalpine · pcre2 +3 morealpine pcre2In PCRE2 before 10.48, pcre2_serialize_encode might disclose two bytes to an adversary, typically in a situation where the access available to the adversary is already unsafe.EPSS0.16%7.8HighCVE-2026-89161Alpine Linuxalpine · pcre2 +3 morealpine pcre2In PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context. An incorrect free operation can occur.EPSS0.13%6.5MediumCVE-2026-89158Alpine Linuxalpine · pcre2 +3 morealpine pcre2PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer overflow and resultant out-of-bounds write.EPSS0.25%7.4HighCVE-2026-89157Alpine Linuxalpine · pcre2 +3 morealpine pcre2PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern.EPSS0.28%