CVE-2025-40909
perl: Perl threads have a working directory race condition where file operations may target unintended paths
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 30, 2025
Updated · September 1, 2026
Description
A flaw was found in the Perl standard library threads component. This vulnerability can allow a local attacker to exploit a race condition in directory handling to access files or load code from unexpected locations.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE-427 · Uncontrolled Search Path Element