Out-of-bounds Read Affecting pcre2 package, versions <0:10.32-2.el8


medium

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.15% (51st percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
6.8 medium
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-PCRE2-2075193
  • published 26 Jul 2021
  • disclosed 28 Jul 2019

How to fix?

Upgrade Centos:8 pcre2 to version 0:10.32-2.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcre2 package and not the pcre2 package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.