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

critical Tenable Cloud Security Plugin ID 462367

Description

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

- Socket versions before 2.041 for Perl have an out-of-bounds heap read. In Socket.xs, pack_ip_mreq_source()
checks the length of its source argument before the argument is read, so the check tests the byte length
carried over from the preceding multiaddr argument instead. Both addresses occupy a 4-byte field, so a
valid multiaddr lets a source of any length pass the check, and the source is then copied into the 4-byte
imr_sourceaddr field with a fixed-size copy. A source shorter than 4 bytes is not rejected, and the copy
reads up to 3 bytes past the end of its buffer. Calling pack_ip_mreq_source() with a source value shorter
than 4 bytes copies adjacent heap memory into the returned packed structure. (CVE-2026-12087)

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

Plugin Details

Severity: Critical

ID: 462367

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: High

Score: 7.1

Percentile: 98.36

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2026-12087

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:H/I:N/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: 6/16/2026

Vulnerability Publication Date: 6/15/2026

Reference Information

CVE: CVE-2026-12087

IAVA: 2026-A-0618