Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-12087 →
Unrated

Vulnerability in perl

UBUNTU-CVE-2026-12087 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as UBUNTU-CVE-2026-12087 has been found in perl.
Confidential information can be exposed externally.
What to do: upgrade perl to 5.18.2-2ubuntu1.7+esm8 or later.
If unsure, ask your IT team or search "perl UBUNTU-CVE-2026-12087" on the vendor's site.

UBUNTU-CVE-2026-12087 (perl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 5.18.2-2ubuntu1.7+esm8 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (unclassified) exists in perl.

Affected scope

Check the vendor advisory for the affected versions of perl.

Severity

Severity: ?. Confidential information can be exposed externally.

How to fix

Update to 5.18.2-2ubuntu1.7+esm8.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'perl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'perl' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で perl を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade perl to 5.18.2-2ubuntu1.7+esm8

    ステージング環境で 5.18.2-2ubuntu1.7+esm8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSperl
< 5.18.2-2ubuntu1.7+esm8→ 5.18.2-2ubuntu1.7+esm8
Ubuntu:Pro:16.04:LTSperl
< 5.22.1-9ubuntu0.9+esm3→ 5.22.1-9ubuntu0.9+esm3
Ubuntu:16.04:LTSlibsocket-perl
All versions→ Not listed
Ubuntu:Pro:18.04:LTSperl
< 5.26.1-6ubuntu0.7+esm3→ 5.26.1-6ubuntu0.7+esm3
Ubuntu:18.04:LTSlibsocket-perl
All versions→ Not listed
Ubuntu:Pro:20.04:LTSperl
< 5.30.0-9ubuntu0.5+esm3→ 5.30.0-9ubuntu0.5+esm3
Ubuntu:20.04:LTSlibsocket-perl
All versions→ Not listed
Ubuntu:22.04:LTSlibsocket-perl
All versions→ Not listed
Ubuntu:22.04:LTSperl
< 5.34.0-3ubuntu1.8→ 5.34.0-3ubuntu1.8
Ubuntu:24.04:LTSlibsocket-perl
All versions→ Not listed
Ubuntu:24.04:LTSperl
< 5.38.2-3.2ubuntu0.4→ 5.38.2-3.2ubuntu0.4
Ubuntu:25.10libsocket-perl
All versions→ Not listed
Ubuntu:25.10perl
All versions→ Not listed
Ubuntu:26.10libsocket-perl
All versions→ Not listed
Ubuntu:26.04:LTSlibsocket-perl
All versions→ Not listed
Ubuntu:26.04:LTSperl
< 5.40.1-7ubuntu0.3→ 5.40.1-7ubuntu0.3
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details