CVE-2019-20454

NameCVE-2019-20454
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcre2 (PTS)stretch10.22-3vulnerable
buster10.32-5vulnerable
bullseye, sid10.34-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcre2source(unstable)10.34-1

Notes

[buster] - pcre2 <no-dsa> (Minor issue)
[stretch] - pcre2 <no-dsa> (Minor issue)
https://bugs.exim.org/show_bug.cgi?id=2421
https://bugs.php.net/bug.php?id=78338
Fixed by: https://vcs.pcre.org/pcre2?view=revision&revision=1092
Tests: https://vcs.pcre.org/pcre2?view=revision&revision=1091

Search for package or bug name: Reporting problems