CVE-2026-12087
Publication date 15 June 2026
Last updated 25 August 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libsocket-perl | 26.04 LTS resolute |
Needs evaluation
|
| 24.04 LTS noble |
Needs evaluation
|
|
| 22.04 LTS jammy |
Needs evaluation
|
|
| 20.04 LTS focal |
Needs evaluation
|
|
| 18.04 LTS bionic |
Needs evaluation
|
|
| 16.04 LTS xenial |
Needs evaluation
|
|
| perl | 26.04 LTS resolute |
Needs evaluation
|
| 24.04 LTS noble |
Needs evaluation
|
|
| 22.04 LTS jammy |
Fixed 5.34.0-3ubuntu1.8
|
|
| 20.04 LTS focal |
Fixed 5.30.0-9ubuntu0.5+esm3
|
|
| 18.04 LTS bionic |
Fixed 5.26.1-6ubuntu0.7+esm3
|
|
| 16.04 LTS xenial |
Fixed 5.22.1-9ubuntu0.9+esm3
|
|
| 14.04 LTS trusty |
Fixed 5.18.2-2ubuntu1.7+esm8
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
CVSS version: CVSS v3.0
Base score
9.1 · Critical
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
Related Ubuntu Security Notices (USN)
- USN-8675-1
- Perl vulnerabilities
- 25 August 2026