All reports
Critical

UBUNTU-CVE-2026-12087

Affected versions

Affected versions
* || =2.020-1 || =2.021-1 || =2.021-1build1
Fixed version
Not reported
Affected versions
* || =2.024-1build2 || =2.027-1
Fixed version
Not reported
Affected versions
* || =2.029-1 || =2.029-1build1
Fixed version
Not reported
Affected versions
* || =2.031-1 || =2.032-1 || =2.032-1build1
Fixed version
Not reported
Affected versions
<5.34.0-3ubuntu1.8 || =5.32.1-3ubuntu3 || =5.34.0-3ubuntu1 || =5.34.0-3ubuntu1.1 || =5.34.0-3ubuntu1.2 || =5.34.0-3ubuntu1.3 || =5.34.0-3ubuntu1.4 || =5.34.0-3ubuntu1.5 || =5.34.0-3ubuntu1.7
Fixed version
5.34.0-3ubuntu1.8
Affected versions
* || =2.037-1 || =2.037-1build1 || =2.037-1build2 || =2.037-1build3
Fixed version
Not reported
Affected versions
<5.38.2-3.2ubuntu0.4 || =5.36.0-9ubuntu1 || =5.36.0-10ubuntu1 || =5.38.2-3 || =5.38.2-3.2 || =5.38.2-3.2build1 || =5.38.2-3.2build2 || =5.38.2-3.2build2.1 || =5.38.2-3.2ubuntu0.1 || =5.38.2-3.2ubuntu0.2 || =5.38.2-3.2ubuntu0.3
Fixed version
5.38.2-3.2ubuntu0.4
Affected versions
* || =2.038-1build1
Fixed version
Not reported
Affected versions
* || =5.40.1-2 || =5.40.1-3 || =5.40.1-5 || =5.40.1-6 || =5.40.1-6build1 || =5.40.1-6ubuntu0.1
Fixed version
Not reported
Affected versions
* || =2.038-1build1 || =2.040-1
Fixed version
Not reported
Affected versions
<5.40.1-7ubuntu0.3 || =5.40.1-6build1 || =5.40.1-7build1 || =5.40.1-7ubuntu0.1 || =5.40.1-7ubuntu0.2
Fixed version
5.40.1-7ubuntu0.3
Affected versions
* || =2.040-1 || =2.041-1 || =2.041-1build1
Fixed version
Not reported
Affected versions
<5.18.2-2ubuntu1.7+esm8 || =5.14.2-21build1 || =5.18.1-4 || =5.18.1-4build1 || =5.18.1-5 || =5.18.2-2 || =5.18.2-2ubuntu1 || =5.18.2-2ubuntu1.1 || =5.18.2-2ubuntu1.3 || =5.18.2-2ubuntu1.4 || =5.18.2-2ubuntu1.6 || =5.18.2-2ubuntu1.7 || =5.18.2-2ubuntu1.7+esm3 || =5.18.2-2ubuntu1.7+esm4 || =5.18.2-2ubuntu1.7+esm5 || =5.18.2-2ubuntu1.7+esm7
Fixed version
5.18.2-2ubuntu1.7+esm8
Affected versions
<5.22.1-9ubuntu0.9+esm3 || =5.20.2-6 || =5.22.1-3 || =5.22.1-4 || =5.22.1-5 || =5.22.1-7 || =5.22.1-8 || =5.22.1-9 || =5.22.1-9ubuntu0.2 || =5.22.1-9ubuntu0.3 || =5.22.1-9ubuntu0.5 || =5.22.1-9ubuntu0.6 || =5.22.1-9ubuntu0.9 || =5.22.1-9ubuntu0.9+esm1 || =5.22.1-9ubuntu0.9+esm2
Fixed version
5.22.1-9ubuntu0.9+esm3
Affected versions
<5.26.1-6ubuntu0.7+esm3 || =5.26.0-8ubuntu1 || =5.26.1-2ubuntu1 || =5.26.1-3 || =5.26.1-4 || =5.26.1-4build1 || =5.26.1-5 || =5.26.1-6 || =5.26.1-6ubuntu0.1 || =5.26.1-6ubuntu0.2 || =5.26.1-6ubuntu0.3 || =5.26.1-6ubuntu0.5 || =5.26.1-6ubuntu0.6 || =5.26.1-6ubuntu0.7 || =5.26.1-6ubuntu0.7+esm2
Fixed version
5.26.1-6ubuntu0.7+esm3
Affected versions
<5.30.0-9ubuntu0.5+esm3 || =5.28.1-6build1 || =5.30.0-7 || =5.30.0-9 || =5.30.0-9build1 || =5.30.0-9ubuntu0.2 || =5.30.0-9ubuntu0.3 || =5.30.0-9ubuntu0.4 || =5.30.0-9ubuntu0.5 || =5.30.0-9ubuntu0.5+esm2
Fixed version
5.30.0-9ubuntu0.5+esm3

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.

Links