Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
perl perl
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Perl是Perl社区的一款通用、解释型、动态的跨平台编程语言。 Perl存在安全漏洞,该漏洞源于线程工作目录竞争条件,可能导致文件操作针对意外路径。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.50% · P41

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-40909

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Perl threads have a working directory race condition where file operations may target unintended paths
Source: CVE Program / CVE List V5
Vulnerability Description
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
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-689
Source: CVE Program / CVE List V5
Vulnerability Title
Perl 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Perl是Perl社区的一款通用、解释型、动态的跨平台编程语言。 Perl存在安全漏洞,该漏洞源于线程工作目录竞争条件,可能导致文件操作针对意外路径。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
perl perl 5.13.6 ~ 5.41.13 -

II. Public POCs for CVE-2025-40909

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40909

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-40909 (1)

Proof of Concept for CVE-2025-40909 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-40909

No comments yet


Leave a comment