CVE-2025-40909

Severity: Moderate
Published: 2025-05-30

Fix Status by Distribution

Fixed in 21 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-27 22:18 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 16
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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

Exploit evidence

Public proof of concept reported

Last checked: 2026-07-31 19:11 UTC

  • Proof of concept · CISA Coordinator (Assessed 2025-05-30 14:05 UTC)

NVD evidence for CVE-2025-40909 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.