Echo: perl: security update to 5.40.1-6+e18

critical Tenable Cloud Security Plugin ID 463565

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 produce
silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches
is compiled into a trie in Perl_study_chunk. When such branches are combined into a trie, the delta
between the first branch and the shared tail is stored in a 16-bit field. A branch count above 65535
overflows the field, and the trie's match decision table is truncated with no warning or error. A pattern
of this shape produces false positive matches (matching strings it should not) and false negative matches
(failing to match strings it should). When such a pattern gates an access or filtering decision, the
result is wrong. (CVE-2026-13221)

Solution

Update the perl library and its related packages to version 5.40.1-6+e18 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-13221

Plugin Details

Severity: Critical

ID: 463565

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 96.31

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2026-13221

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/14/2026

Vulnerability Publication Date: 7/13/2026

Reference Information

CVE: CVE-2026-13221

IAVA: 2026-A-0696-S