---
id: CVE-2019-20838
title: >-
  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.
summary: >-
  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: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
vendor: pcre
product: pcre
affected:
  - pcre < 8.43
  - macos < 11.0.1
  - 'universal_forwarder >= 8.2.0, < 8.2.12'
  - 'universal_forwarder >= 9.0.0, < 9.0.6'
  - universal_forwarder = 9.1.0
patched:
  - pcre 8.43
  - macos 11.0.1
  - universal_forwarder 9.0.6
published: '2020-06-15'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:16:54.420'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-20838'
references:
  - url: 'http://seclists.org/fulldisclosure/2020/Dec/32'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2021/Feb/14'
    label: cve@mitre.org
  - url: 'https://bugs.gentoo.org/717920'
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT211931'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT212147'
    label: cve@mitre.org
  - url: 'https://www.pcre.org/original/changelog.txt'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2020/Dec/32'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2021/Feb/14'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugs.gentoo.org/717920'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT211931'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT212147'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.pcre.org/original/changelog.txt'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-20838.json
  - url: 'https://access.redhat.com/security/cve/CVE-2019-20838'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1848444'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2019-20838'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2019-20838'
  - url: 'https://access.redhat.com/errata/RHSA-2021:4614'
  - url: 'https://access.redhat.com/errata/RHSA-2021:4373'
  - url: 'https://access.redhat.com/errata/RHSA-2021:4613'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.0277
epssPercentile: 0.86249
ingestedAt: '2026-10-08T23:16:47.306Z'
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-08T21:06:39.988543Z'
---

## Overview

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.

## Affected

- `pcre < 8.43`
- `macos < 11.0.1`
- `universal_forwarder >= 8.2.0, < 8.2.12`
- `universal_forwarder >= 9.0.0, < 9.0.6`
- `universal_forwarder = 9.1.0`

## Remediation

Upgrade past the affected range:

- `pcre 8.43`
- `macos 11.0.1`
- `universal_forwarder 9.0.6`

## Vendor advisories

- **RHSA-2021:4614** · Red Hat · fixed in: Red Hat JBoss Core Services on RHEL 7 Server, Red Hat JBoss Core Services on RHEL 8 · released 2021-11-10 · [advisory](https://access.redhat.com/errata/RHSA-2021:4614)
- **RHSA-2021:4373** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat CodeReady Linux Builder (v. 8) · released 2021-11-09 · [advisory](https://access.redhat.com/errata/RHSA-2021:4373)
- **RHSA-2021:4613** · Red Hat · fixed in: Red Hat JBoss Core Services · released 2021-11-10 · [advisory](https://access.redhat.com/errata/RHSA-2021:4613)
- **Red Hat VEX** · Low · affected: Red Hat Advanced Cluster Management for Kubernetes 2 · no fix planned: Red Hat Advanced Cluster Management for Kubernetes 2 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-20838.json)
