cve.bz

CVE-2019-20838 Out-of-bounds Read

7.5 highEPSS 2.8%Fix available

High (7.5). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-20838 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-20838?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-20838?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-20838 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-20838

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-20838](https://cve.bz/cve/badge/CVE-2019-20838.svg)](https://cve.bz/cve/CVE-2019-20838)

HTML:

<a href="https://cve.bz/cve/CVE-2019-20838"><img src="https://cve.bz/cve/badge/CVE-2019-20838.svg" alt="CVE-2019-20838"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pcre:pcrebefore 8.43
apple:macosbefore 11.0.1
splunk:universal_forwarderfrom 8.2.0 before 8.2.12
splunk:universal_forwarderfrom 9.0.0 before 9.0.6
splunk:universal_forwarder9.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pcre3no fix listedDEBIAN-CVE-2019-20838
Ubuntu18.04:LTSpcre32:8.39-9ubuntu0.1UBUNTU-CVE-2019-20838 USN-5425-1
Ubuntu20.04:LTSpcre32:8.39-12ubuntu0.1UBUNTU-CVE-2019-20838 USN-5425-1
Ubuntu22.04:LTSpcre32:8.39-13ubuntu0.22.04.1UBUNTU-CVE-2019-20838 USN-5425-1
Ubuntu24.04:LTS, 25.10pcre3no fix listedUBUNTU-CVE-2019-20838
UbuntuPro:14.04:LTSpcre31:8.31-2ubuntu2.3+esm1USN-5425-1
UbuntuPro:16.04:LTSpcre32:8.38-3.1ubuntu0.1~esm1USN-5425-1
Red Hatenterprise_linux:8::baseospcre, pcre-cpp, pcre-devel and 8 more0:8.42-6.el8RHSA-2021:4373
Red Hatenterprise_linux:8::crbpcre-static, pcre-debuginfo, pcre-debugsource and 4 more0:8.42-6.el8RHSA-2021:4373
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.6.3-107.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-84.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:7.78.0-2.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.37-78.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.16-9.Final_redhat_2.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.7-21.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.48-20.redhat_1.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.0.8-40.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.2-67.GA.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.37-78.jbcs.el7RHSA-2021:4614
18 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise High Availability Extension 12 SP4 and 15 morepcre8.45-8.7.1SUSE-SU-2021:3652-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moreselinux-policy20140730-36.5.2SUSE-SU-2021:3652-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP2 and 1 morepcre8.45-20.10.1SUSE-SU-2021:3529-1
openSUSELeap 15.2pcre8.45-lp152.7.6.1openSUSE-SU-2021:1441-1
openSUSELeap 15.3pcre8.45-20.10.1openSUSE-SU-2021:3529-1
AlmaLinux8pcre, pcre-cpp, pcre-devel and 3 more8.42-6.el8ALSA-2021:4373
Rocky Linux8pcre0:8.42-6.el8RLSA-2021:4373

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Do not use more than one fixed quantifier with \R or \X with UTF disabled in PCRE or PCRE2, as these are the conditions needed to trigger the flaw.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-apr-0:1.6.3-107.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-apr-util-0:1.6.1-84.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:7.78.0-2.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.37-78.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_cluster-native-0:1.3.16-9.Final_redhat_2.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_http2-0:1.15.7-21.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_jk-0:1.2.48-20.redhat_1.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_md-1:2.0.8-40.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_security-0:2.9.2-67.GA.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-nghttp2-0:1.39.2-39.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1g-8.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-chil-0:1.0.0-7.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-pkcs11-0:0.4.10-22.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services on RHEL 7jbcs-httpd24-apr-0:1.6.3-107.jbcs.el7Fixed 2021-11-10RHSA-2021:4614
JBoss Core Services on RHEL 7jbcs-httpd24-apr-util-0:1.6.1-84.jbcs.el7Fixed 2021-11-10RHSA-2021:4614
JBoss Core Services on RHEL 7jbcs-httpd24-curl-0:7.78.0-2.jbcs.el7Fixed 2021-11-10RHSA-2021:4614
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.37-78.jbcs.el7Fixed 2021-11-10RHSA-2021:4614
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/management-ingress-rhel8Fix deferred
Red Hat Enterprise Linux 6pcreNot affected
Red Hat Enterprise Linux 7pcreNot affected
11 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-20838.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON