CVE-2019-20454

high

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.

References

https://bugs.exim.org/show_bug.cgi?id=2421

https://bugs.php.net/bug.php?id=78338

https://bugzilla.redhat.com/show_bug.cgi?id=1735494

https://lists.fedoraproject.org/archives/list/[email protected]/message/OQRAHYHLRNMBTPR3KXVM27NSZP3KTOPI/

https://security.gentoo.org/glsa/202006-16

https://vcs.pcre.org/pcre2?view=revision&revision=1092

Details

Source: MITRE

Published: 2020-02-14

Updated: 2020-07-09

Type: CWE-125

Risk Information

CVSS v2

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH