CVE-2019-20454 — Out-of-bounds Read in Pcre2
Severity
7.5HIGHNVD
EPSS
0.1%
top 74.67%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
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
Also affects: Fedora 31
Patches
🔴Vulnerability Details
3📋Vendor Advisories
4Red Hat▶
pcre: Buffer over-read in JIT when UTF is disabled and \X or \R has fixed quantifier greater than 1↗2020-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
Debian▶
CVE-2019-20454: pcre2 - An out-of-bounds read was discovered in PCRE before 10.34 when the pattern \X is...↗2019
💬Community
8Bugzilla▶
CVE-2019-20838 pcre: Buffer over-read in JIT when UTF is disabled and \X or \R has fixed quantifier greater than 1↗2020-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