Home / PEVANS / Socket / CVE-2026-12087
CVE-2026-12087: is it exploited, and which versions of PEVANS Socket are affected and fixed?
CVE-2026-12087 is an out-of-bounds read vulnerability in PEVANS Socket. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: Socket before 2.041 (CVE record by CPANSec). Fixed in 2.041 (CVE record by CPANSec). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
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.
From the CVE record by CPANSec, last updated November 10, 2026, 12:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| PEVANS | Socket | before 2.041 | 2.041 |
As the CVE record by CPANSec states it, last updated November 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-12087?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-12087 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, June 16, 2026)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
How do I fix it? (from the CVE record)
Upgrade to version 2.041 or later.
Where are the vendor advisories and references?
- https://metacpan.org/release/PEVANS/Socket-2.041/changes release-notes
- https://github.com/Perl/perl5/commit/de19a0b0ad1900fef976c5c1400bd8f11ec6c6cb.patch patch
- http://www.openwall.com/lists/oss-security/2026/06/15/10
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
When was it published, and where is the official record?
- Reserved
- June 12, 2026
- Published
- June 15, 2026, 21:11 UTC
- CVE record updated
- November 10, 2026, 12:40 UTC by CPANSec
- NVD
- Deferred, last modified November 10, 2026, 13:18 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-12087
Is CVE-2026-12087 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of PEVANS Socket are affected by CVE-2026-12087?
Socket before 2.041, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-12087?
2.041, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-12087?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-12087?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.