CentOS 9 : pcre2-10.40-7.el9

high Nessus Plugin ID 363462

Synopsis

The remote CentOS host is missing one or more security updates for pcre2.

Description

The remote CentOS Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the pcre2-10.40-7.el9 build changelog.

- In PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context. An incorrect free operation can occur. (CVE-2026-89161)

- PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern. (CVE-2026-89157)

- PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set through the API).
(CVE-2026-86145)

- PCRE2 before 10.48 has a pcre2_match out-of-bounds read after a JIT fallback when an attacker can provide invalid UTF data. (CVE-2026-89156)

- PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer overflow and resultant out-of- bounds write. (CVE-2026-89158)

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

Solution

Update the CentOS 9 Stream pcre2 package.

See Also

https://kojihub.stream.centos.org/koji/buildinfo?buildID=131447

Plugin Details

Severity: High

ID: 363462

File Name: centos9_pcre2-10_40-7_131447.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 10/6/2026

Updated: 10/6/2026

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

Percentile: 95.85

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-89157

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

CVSS Score Source: CVE-2026-89161

Vulnerability Information

CPE: cpe:/a:centos:centos:9, p-cpe:/a:centos:centos:pcre2-devel, p-cpe:/a:centos:centos:pcre2-static, p-cpe:/a:centos:centos:pcre2-syntax, p-cpe:/a:centos:centos:pcre2-tools, p-cpe:/a:centos:centos:pcre2-utf16, p-cpe:/a:centos:centos:pcre2-utf32, p-cpe:/a:centos:centos:pcre2

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/1/2026

Vulnerability Publication Date: 9/5/2026

Reference Information

CVE: CVE-2026-86145, CVE-2026-89156, CVE-2026-89157, CVE-2026-89158, CVE-2026-89160, CVE-2026-89161