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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3363-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcre2 (PTS)stretch (lts), stretch10.22-3+deb9u1fixed
buster (security), buster, buster (lts)10.32-5+deb10u1fixed
bullseye10.36-2+deb11u1fixed
bookworm10.42-1fixed
trixie10.42-4fixed
sid10.44-4fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcre2sourcestretch(not affected)
pcre2sourcebuster10.32-5+deb10u1DLA-3363-1
pcre2source(unstable)10.34-1

Notes

[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
[stretch] - pcre2 <not-affected> (Vulnerable code introduced later at version 10.31)

Search for package or bug name: Reporting problems