Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-12087

Socket versions before 2.041 for Perl have an out-of-bounds heap read

Products / packages PEVANS Socket · Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · 3 more

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 22/11/2026, 12:30:30 UTC
CISA-ADP · CVSS:3.1 · 9.1
Assessment vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Severity

critical9.1

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Source guidance available

Review the recorded instructions. Guidance may be a workaround rather than a fixed version.

What this means

Socket versions before 2.041 for Perl have an out-of-bounds heap read. The vulnerability occurs when pack_ip_mreq_source() copies a source value shorter than 4 bytes into the imr_sourceaddr field. This may read adjacent heap memory into the returned packed structure.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

PEVANS · CPANSec

Socket

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 2.041

custom versions

unaffected

unknown

Other versions: unaffected

Siemens · siemens-SADP

SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

V3.1.7 → before *

custom versions

unaffected

unknown

Other versions: unknown

Siemens · siemens-SADP

SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

V3.1.7 → before *

custom versions

unaffected

unknown

Other versions: unknown

Siemens · siemens-SADP

SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

V3.1.7 → before *

custom versions

unaffected

unknown

Other versions: unknown

Siemens · siemens-SADP

SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

V3.1.7 → before *

custom versions

unaffected

unknown

Other versions: unknown

Siemens · siemens-SADP

SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

V3.1.7 → before *

custom versions

unaffected

unknown

Other versions: unknown

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

Upgrade to version 2.041 or later.

CPANSec guidance ↗

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher 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.

References

4 sources

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-12087

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-125 ↗

CWE-125 Out-of-bounds Read

CPANSec

Related →
CWE-805 ↗

CWE-805 Buffer Access with Incorrect Length Value

CPANSec

Related →
Contributing organizations · 4
CPANSec

Assigning organization

2026-06-15
CVE

Additional data publisher

2026-06-15
CISA-ADP

Additional data publisher

2026-06-16
siemens-SADP

Additional data publisher

2026-11-10

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.