Vulnerabilities · 2019 · Pcre
CVE-2019-20454
Pcre2 vulnerability
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.
Affected products
Pcre2, Fedora, Universal Forwarder. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pcre2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1735494 · Patch
- vcs.pcre.org/pcre2?view=revision&revision=1092 · Patch
- bugs.exim.org/show_bug.cgi?id=2421 · Third Party Advisory
- bugs.php.net/bug.php?id=78338 · Exploit
- lists.debian.org/debian-lts-announce/2023/03/msg00014.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O · Third Party Advisory
- security.gentoo.org/glsa/202006-16 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-20454
- cve.org/CVERecord?id=CVE-2019-20454
More vulnerabilities in Pcre products
CVE-2025-58050CVE-2022-41409CVE-2022-1587CVE-2022-1586CVE-2020-14155CVE-2019-20838CVE-2017-16231CVE-2017-11164All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.