Skip to main content
CVE Radar
CRITICALpublic exploit

CVE-2026-12087

CVE-2026-12087 — Socket versions before 2.041 for Perl have an out-of-bounds heap read

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.

Published Updated Sources: cvelistV5, CPANSec

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Public exploit

exploit code published, no use observed

EPSS

<1%

chance of exploitation in 30 days

Affects

Pevans

6 products listed

CVSS base

9.1

CRITICAL

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

Yes

can an attacker script all four kill-chain steps

Technical impact

Partial

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (2)

Products (6)

socketsimatic s7 1500 cpu 1518 4 pn dp mfp 6es7518 4ax00 1ab0simatic s7 1500 cpu 1518 4 pn dp mfp 6es7518 4ax00 1ac0simatic s7 1500 cpu 1518f 4 pn dp mfp 6es7518 4fx00 1ab0simatic s7 1500 cpu 1518f 4 pn dp mfp 6es7518 4fx00 1ac0siplus s7 1500 cpu 1518 4 pn dp mfp 6ag1518 4ax00 4ac0

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.1CVSS 3.1CRITICALn/an/acvelistV5

Weakness & attack patterns

  • CWE-125
  • CWE-805

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

Indexed by

poc in github

References

4 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Pevansevery CVE for this vendor
  • Siemensevery CVE for this vendor
  • CWE-125other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.