Debian DLA-3363-1 : pcre2 - LTS security update

critical Nessus Plugin ID 172599


The remote Debian host is missing one or more security-related updates.


The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3363 advisory.

- 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. (CVE-2019-20454)

- An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT. (CVE-2022-1586)

- An out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers. (CVE-2022-1587)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.


Upgrade the pcre2 packages.

For Debian 10 buster, these problems have been fixed in version 10.32-5+deb10u1.

See Also

Plugin Details

Severity: Critical

ID: 172599

File Name: debian_DLA-3363.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/16/2023

Updated: 8/30/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent

Risk Information


Risk Factor: Medium

Score: 6.7


Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2022-1587


Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libpcre2-16-0, p-cpe:/a:debian:debian_linux:libpcre2-32-0, p-cpe:/a:debian:debian_linux:libpcre2-8-0, p-cpe:/a:debian:debian_linux:libpcre2-dbg, p-cpe:/a:debian:debian_linux:libpcre2-dev, p-cpe:/a:debian:debian_linux:libpcre2-posix0, p-cpe:/a:debian:debian_linux:pcre2-utils, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/16/2023

Vulnerability Publication Date: 2/14/2020

Reference Information

CVE: CVE-2019-20454, CVE-2022-1586, CVE-2022-1587