CVE-2026-12087: pevans socket Out-of-bounds Read
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.
Advisory lineage
Upstream 0 · Downstream 10 · Related 10Timeline
- 15-06-2026PublishedVulnerability first disclosed.
- 16-06-2026Last 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- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-805Buffer Access with Incorrect Length ValueThe product uses a sequential operation to read or write a buffer, but it uses an incorrect length value that causes it to access memory that is outside of the bounds of the buffer.
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
- socket< 2.041
5 vendors · 9 products
References
20 links- images.redhat.comARTICLE