9.1

CVE-2026-12087: pevans socket Out-of-bounds Read

CVSS: 9.1v3.1CriticalDeferred
AliasesMGASA-2026-0251RHSA-2026:11342UBUNTU-CVE-2026-12087
Published 15-06-2026Last modified 16-06-2026

Vulnerability summary

CVE-2026-12087 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in pevans socket. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 30.1% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 10

Timeline

  1. 15-06-2026
    PublishedVulnerability first disclosed.
  2. 16-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • libsocket-perlAll versions (No fix recorded) | < 2.038-1+deb13u1 | < 2.041-1
  • perl< 5.36.0-7+deb12u4 | < 5.40.1-6+deb13u1 | < 5.42.3-1
Mageia2 products
  • perl-Socket< 2.41.0-1.mga10
  • perl-Socket< 2.36.0-1.1.mga9
Redhat2 products
  • perl-Socket< 0:2.041-1.hum1
  • perl-Socket-tests< 0:2.041-1.hum1
Ubuntu2 products
  • libsocket-perlAll versions (No fix recorded)
  • perl< 5.18.2-2ubuntu1.7+esm8 | < 5.22.1-9ubuntu0.9+esm3 | < 5.26.1-6ubuntu0.7+esm3 | < 5.30.0-9ubuntu0.5+esm3 | < 5.34.0-3ubuntu1.8 | < 5.38.2-3.2ubuntu0.4 | All versions (No fix recorded) | < 5.40.1-7ubuntu0.3
Pevans1 product

5 vendors · 9 products

References

20 links
Show all 20 references