Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
6078 articles · 192355 vulns · 37/41 feeds (7d)
← Back to list
7.5
CVE-2026-12087EXPLOITEDPATCHED
perl · socket

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

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.

Affected Products

VendorProductVersions
perlsocket0

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
ibmaixcert_advisory90%
ibmvioscert_advisory90%

References

  • https://metacpan.org/release/PEVANS/Socket-2.041/changes(release-notes)
  • https://github.com/Perl/perl5/commit/de19a0b0ad1900fef976c5c1400bd8f11ec6c6cb.patch(patch)

Related News (4 articles)

Tier B
BSI Advisories2h ago
[NEU] [hoch] IBM AIX und VIOS: Mehrere Schwachstellen
→ No new info (linked only)
Tier A
Microsoft MSRC59d ago
CVE-2026-12087 Socket versions before 2.041 for Perl have an out-of-bounds heap read
→ No new info (linked only)
Tier C
VulDB62d ago
CVE-2026-12087 | PEVANS Socket up to 2.40 on Perl Socket.xs pack_ip_mreq_source Source out-of-bounds
→ No new info (linked only)
Tier C
oss-security62d ago
CVE-2026-12087: Socket versions before 2.041 for Perl have an out-of-bounds heap read
→ No new info (linked only)
CVSS 3.17.5 NONE
CISA KEV❌ No
Actively exploited✅ Yes
Patch available
2.041
CWECWE-125, CWE-805
PublishedJun 15, 2026
Last enriched62d agov3
Tags
CVE-2026-12087
Trending Score68
Source articles4
Independent4
Info Completeness9/14
Missing: epss, kev, exploit, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

HIGHCVE-2026-48962EXP
IO::Compress versions before 2.220 for Perl can execute arbitrary code in File::GlobMapper via an attacker-controlled output glob
Trending: 80
NONECVE-2026-10879
DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders
Trending: 13
CRITICALCVE-2026-14739EXP
DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders
Trending: 12
NONECVE-2026-14380EXP
DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile
Trending: 9
NONECVE-2026-8450EXP
HTTP::Daemon versions before 6.17 for Perl allow OS command injection via send_file()
Trending: 4

Pin to Dashboard

Verification

State: verified
Confidence: 0%

Vulnerability Timeline

CVE Published
Jun 15, 2026
Discovered by ZDM
Jun 15, 2026
Updated: cvssEstimate, tags
Jun 15, 2026
Updated: affectedVersions, severity, activelyExploited
Jun 16, 2026
Actively Exploited
Jun 16, 2026
Patch Available
Jun 16, 2026

Version History

v3
Last enriched 62d ago
v3Tier C62d ago

Updated affected versions to include 2.40, changed severity to HIGH, and noted that the exploit is not available but the vulnerability is actively exploited.

affectedVersionsseverityactivelyExploited
via VulDB
v2Tier C62d ago

Updated severity to HIGH, added CVSS estimate of 7.5, and marked the vulnerability as actively exploited with an available exploit.

cvssEstimatetags
via oss-security
v162d ago

Initial creation