← Back to CVE intelligence
CVE intelligence

CVE-2026-12087

Vulnerability intelligence

Published Jun 15, 2026Sources checked Oct 27, 2026
9.1CRITICALCVSS out of 10
What this means

Review the available evidence

CVE-2026-12087 and is rated Critical severity with a CVSS score of 9.1. It is not in the current CISA KEV record we collected. That does not prove exploitation has not occurred.

What to do next

Remediation and response

Ubuntu Security Notices guidance

Vendor revision: Sep 9, 2026

USN-8675-1 fixed vulnerabilities in Perl.

Ubuntu Security Notices guidance

Vendor revision: Aug 25, 2026

(CVE-2026-12087) It was discovered that Perl incorrectly handled regular expressions containing a large number of fixed string alternatives.

Microsoft Security Response Center guidance

Vendor revision: Jun 25, 2026

CBL-Mariner Releases

Vendor-listed releases

  • 5.38.2-511
CISA KEVNot listedBased on the latest collected catalog
EPSS0.6%Estimated 30-day exploitation probability
Ransomware useNot markedCISA KEV ransomware field
Threat actors0Source-linked actor relationships
Overview

What is CVE-2026-12087?

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.

Source: NVD