Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-12087 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-125Out-of-bounds ReadCPANSec
CWE-805Buffer Access with Incorrect Length ValueCPANSec

Affected Products

ProductVersions
Perl Socket
< 2.041

CPE

  • cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 2.041moderate effort

Change History

9 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-12087
NVD Published Date:
Jun 15, 2026
NVD Last Modified:
Nov 10, 2026
Source:
CPANSec