CVE-2019-20454Out-of-bounds Read in Pcre2

CWE-125Out-of-bounds Read16 documents8 sources
Severity
7.5HIGHNVD
EPSS
0.1%
top 74.67%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 14
Latest updateMay 24

Description

An 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.

CVSS vector

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

Affected Packages3 packages

NVDpcre/pcre210.3110.34
Debianpcre/pcre2< 10.34-1+3
NVDsplunk/universal_forwarder8.2.08.2.12+2

Also affects: Fedora 31

Patches

🔴Vulnerability Details

3
GHSA
GHSA-6wcm-vmc4-h93p: An out-of-bounds read was discovered in PCRE before 102022-05-24
CVEList
CVE-2019-20454: An out-of-bounds read was discovered in PCRE before 102020-02-14
OSV
CVE-2019-20454: An out-of-bounds read was discovered in PCRE before 102020-02-14

📋Vendor Advisories

4
Red Hat
pcre: Buffer over-read in JIT when UTF is disabled and \X or \R has fixed quantifier greater than 12020-06-15
Microsoft
libpcre 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.2020-06-09
Red Hat
pcre: Out of bounds read in JIT mode when \X is used in non-UTF mode2019-07-28
Debian
CVE-2019-20454: pcre2 - An out-of-bounds read was discovered in PCRE before 10.34 when the pattern \X is...2019

💬Community

8
Bugzilla
CVE-2019-20838 pcre: Buffer over-read in JIT when UTF is disabled and \X or \R has fixed quantifier greater than 12020-06-18
Bugzilla
CVE-2019-20454 pcre: out-of-bounds read in JIT mode when \X is used in non-UTF mode [fedora-all]2020-02-14
Bugzilla
CVE-2019-20454 mingw-glib2: pcre: out-of-bounds read in JIT mode when \X is used in non-UTF mode [fedora-all]2020-02-14
Bugzilla
CVE-2019-20454 pcre2: pcre: out-of-bounds read in JIT mode when \X is used in non-UTF mode [fedora-all]2020-02-14
Bugzilla
CVE-2019-20454 mingw-pcre: pcre: out-of-bounds read in JIT mode when \X is used in non-UTF mode [fedora-all]2020-02-14
CVE-2019-20454 — Out-of-bounds Read in Pcre Pcre2 | cvebase