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

high Tenable Self-Hosted Container Security Plugin ID 462790

Description

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

- Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the
extraction directory. _make_special_file() passes the tar header's linkname to link() without validating
it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode. A
subsequent write through the extracted name modifies the victim file, and the post-extraction chmod,
chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's
mode, owner, and timestamps to the shared inode during extraction alone. (CVE-2026-42497)

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-42497

Plugin Details

Severity: High

ID: 462790

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.61

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-42497

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/26/2026

Vulnerability Publication Date: 5/26/2026

Reference Information

CVE: CVE-2026-42497