CVE-2025-40909 | Perl threads have a working directory race condition where file operations may target unintended paths

Perl threads have a working directory race condition where file operations may target unintended paths. If a directory handle is open at thread creation, the process-wide current working directory is temporarily changed in order to clone that handle for the new thread, which is visible from any third (or more) thread already running. This may lead to unintended operations such as loading code or accessing files from unexpected locations, which a local attacker may be able to exploit. The bug was introduced in commit 11a11ecf4bea72b17d250cfb43c897be1341861e and released in Perl version 5.13.6

公開: 2025-05-30 最終更新: 2026-06-17 Assigner: 9b29abf9-4ab0-4765-b253-1875cd9b441e ソース: 9b29abf9-4ab0-4765-b253-1875cd9b441e

総合評価: CVE-2025-40909 は低リスク(33.9/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.37%、28 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-40909 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.01% 0.37% +0.36%
2 2025-05-31 0.01%

EPSS の全履歴 (全 2 件)

CVE-2025-40909 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.9 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
2.5 3.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVE-2025-40909 の弱点分類(列挙)

CVE-2025-40909 の GitHub Security Advisory

GHSA-jpf5-526x-c5hw · 深刻度: medium — Perl threads have a working directory race condition where file operations may target unintended...

CVE-2025-40909 の OS トラッカー

vendor priority summary link
alpine CVE-2025-40909: 1 source package rows (perl); 56 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 56. https://security.alpinelinux.org/vuln/CVE-2025-40909
debian not yet assigned CVE-2025-40909 not yet assigned priority: Debian including 1 source packages (perl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-40909
redhat medium https://access.redhat.com/security/cve/CVE-2025-40909
suse medium CVE-2025-40909 severity moderate: SUSE including 741 source package names (0.1.6-1.2:perl-5.26.1-150300.17.20.1, 0.1.6-1.2:perl-base-5.26.1-150300.17.20.1, …), 1346 product×package rows across 350 product lines (Container bci/kiwi, Container bci/spack, … (350 product lines)): Fixed 1124, Known Affected 221, Known Not Affected 1. https://www.suse.com/security/cve/CVE-2025-40909/
ubuntu medium CVE-2025-40909 medium priority: Ubuntu including 1 source packages (perl), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 4, released 4, ignored 1, not-affected 1. https://ubuntu.com/security/CVE-2025-40909

CVE-2025-40909 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
データセットに影響を受ける製品はありません。

CVE-2025-40909 の参考情報

URL タグ
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098226
https://github.com/Perl/perl5/commit/11a11ecf4bea72b17d250cfb43c897be1341861e
https://github.com/Perl/perl5/commit/918bfff86ca8d6d4e4ec5b30994451e0bd74aba9.patch
https://github.com/Perl/perl5/issues/10387
https://github.com/Perl/perl5/issues/23010
https://perldoc.perl.org/5.14.0/perl5136delta#Directory-handles-not-copied-to-threads
https://www.openwall.com/lists/oss-security/2025/05/22/2
http://seclists.org/fulldisclosure/2025/Sep/53
http://seclists.org/fulldisclosure/2025/Sep/54
http://seclists.org/fulldisclosure/2025/Sep/55
http://www.openwall.com/lists/oss-security/2025/05/23/1
http://www.openwall.com/lists/oss-security/2025/05/30/4
http://www.openwall.com/lists/oss-security/2025/06/02/2
http://www.openwall.com/lists/oss-security/2025/06/02/5
http://www.openwall.com/lists/oss-security/2025/06/02/6
http://www.openwall.com/lists/oss-security/2025/06/02/7
http://www.openwall.com/lists/oss-security/2025/06/03/1
https://lists.debian.org/debian-lts-announce/2026/04/msg00018.html
cvelogic Threat Intelligence