CVE-2019-20454

pcre: Out of bounds read in JIT mode when \X is used in non-UTF mode

Published Feb 14, 2020 CVSS 3.1 · 7.5 High EPSS 1.6% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3363-1 pcre2 security update
EUVD EUVD EUVD-2019-11000 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 2, 2026, 5:47 PM
Reserved
Feb 14, 2020, 12:00 AM
Status
Modified
Published
Feb 14, 2020, 2:15 PM
Modified
Nov 2, 2026, 6:18 PM
Severity
Moderate
Public date
Jul 28, 2019, 12:00 AM