Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40909

published medium CVSS 3.1 · 5.9

Perl threads have a working directory race condition where file operations may target unintended paths

Published
30 May 2025, 12:20:11 UTC
Updated
18 Apr 2026, 14:15:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
perl — perl5.13.6 to < 5.41.13 · Other versions: unaffected Affected Not stated CPANSec
Amazon Linux AL2 Release evaluationALAS2-2025-2879 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1007 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 perl Advisory build 4:5.26.3-423.el8_10 ALSA-2025:11805
Debian bullseye perl Advisory build 5.32.1-4+deb11u5 DLA-4538-1
Oracle Linux 10 perlaarch64 Advisory build 4:5.40.2-512.2.el10_0 ELSA-2025-12056
Red Hat Enterprise Linux RHEL-10 perlaarch64 Advisory build 4:5.40.2-512.2.el10_0 RHSA-2025:12056
SUSE / openSUSE SLE-12-SP5 perlx86_64 Advisory build 5.18.2-12.29.1 SUSE-SU-2025:02051-1
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy perl Advisory build 5.34.0-3ubuntu1.5 USN-7678-1
AlmaLinux 8 perl Advisory build 4:5.32.1-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
Oracle Linux 10 perlx86_64 Advisory build 4:5.40.2-512.2.el10_0 ELSA-2025-12056
Oracle Linux 8 perlaarch64 Advisory build 4:5.26.3-423.el8_10 ELSA-2025-11805
Oracle Linux 8 perlaarch64 · perl · 5.32b Advisory build 4:5.32.1-474.module+el8.10.0+90876+9a50c25b ELSA-2026-8096
Oracle Linux 8 perlx86_64 Advisory build 4:5.26.3-423.el8_10 ELSA-2025-11805
Oracle Linux 8 perlx86_64 · perl · 5.32b Advisory build 4:5.32.1-474.module+el8.10.0+90876+9a50c25b ELSA-2026-8096
Oracle Linux 9 perlaarch64 Advisory build 4:5.32.1-481.1.el9_6 ELSA-2025-11804
Oracle Linux 9 perlx86_64 Advisory build 4:5.32.1-481.1.el9_6 ELSA-2025-11804
Red Hat Enterprise Linux RHEL-10 perlppc64le Advisory build 4:5.40.2-512.2.el10_0 RHSA-2025:12056
Red Hat Enterprise Linux RHEL-10 perls390x Advisory build 4:5.40.2-512.2.el10_0 RHSA-2025:12056
Red Hat Enterprise Linux RHEL-10 perlsrc Advisory build 4:5.40.2-512.2.el10_0 RHSA-2025:12056
Red Hat Enterprise Linux RHEL-10 perlx86_64 Advisory build 4:5.40.2-512.2.el10_0 RHSA-2025:12056
Red Hat Enterprise Linux RHEL-8 perlaarch64 Advisory build 4:5.26.3-423.el8_10 RHSA-2025:11805
Red Hat Enterprise Linux RHEL-8 perlaarch64 Advisory build 4:5.32.1-474.module+el8.10.0+24099+8aa2f756 RHSA-2026:8096
Red Hat Enterprise Linux RHEL-8 perlppc64le Advisory build 4:5.26.3-423.el8_10 RHSA-2025:11805
Red Hat Enterprise Linux RHEL-8 perlppc64le Advisory build 4:5.32.1-472.module+el8.8.0+24404+b3ad2701.1 RHSA-2026:50262
Red Hat Enterprise Linux RHEL-8 perlppc64le Advisory build 4:5.32.1-474.module+el8.10.0+24099+8aa2f756 RHSA-2026:8096
Red Hat Enterprise Linux RHEL-8 perls390x Advisory build 4:5.26.3-423.el8_10 RHSA-2025:11805
Red Hat Enterprise Linux RHEL-8 perls390x Advisory build 4:5.32.1-474.module+el8.10.0+24099+8aa2f756 RHSA-2026:8096
Red Hat Enterprise Linux RHEL-8 perlsrc Advisory build 4:5.26.3-423.el8_10 RHSA-2025:11805
Red Hat Enterprise Linux RHEL-8 perlsrc Advisory build 4:5.32.1-471.module+el8.6.0+24484+7827d5b5.1 RHSA-2026:37070
Red Hat Enterprise Linux RHEL-8 perlsrc Advisory build 4:5.32.1-472.module+el8.8.0+24404+b3ad2701.1 RHSA-2026:50262
Red Hat Enterprise Linux RHEL-8 perlsrc Advisory build 4:5.32.1-474.module+el8.10.0+24099+8aa2f756 RHSA-2026:8096
Red Hat Enterprise Linux RHEL-8 perlx86_64 Advisory build 4:5.26.3-423.el8_10 RHSA-2025:11805
Red Hat Enterprise Linux RHEL-8 perlx86_64 Advisory build 4:5.32.1-471.module+el8.6.0+24484+7827d5b5.1 RHSA-2026:37070
Red Hat Enterprise Linux RHEL-8 perlx86_64 Advisory build 4:5.32.1-472.module+el8.8.0+24404+b3ad2701.1 RHSA-2026:50262
Red Hat Enterprise Linux RHEL-8 perlx86_64 Advisory build 4:5.32.1-474.module+el8.10.0+24099+8aa2f756 RHSA-2026:8096
Red Hat Enterprise Linux RHEL-9 perlaarch64 Advisory build 4:5.32.1-481.1.el9_6 RHSA-2025:11804
Red Hat Enterprise Linux RHEL-9 perlaarch64 Advisory build 4:5.32.1-481.el9_4.1 RHSA-2025:11545
Red Hat Enterprise Linux RHEL-9 perlppc64le Advisory build 4:5.32.1-481.1.el9_6 RHSA-2025:11804
Red Hat Enterprise Linux RHEL-9 perlppc64le Advisory build 4:5.32.1-481.el9_4.1 RHSA-2025:11545
Red Hat Enterprise Linux RHEL-9 perls390x Advisory build 4:5.32.1-481.1.el9_6 RHSA-2025:11804
Red Hat Enterprise Linux RHEL-9 perls390x Advisory build 4:5.32.1-481.el9_4.1 RHSA-2025:11545
Red Hat Enterprise Linux RHEL-9 perlsrc Advisory build 4:5.32.1-481.1.el9_6 RHSA-2025:11804
Red Hat Enterprise Linux RHEL-9 perlsrc Advisory build 4:5.32.1-481.el9_4.1 RHSA-2025:11545
Red Hat Enterprise Linux RHEL-9 perlx86_64 Advisory build 4:5.32.1-481.1.el9_6 RHSA-2025:11804
Red Hat Enterprise Linux RHEL-9 perlx86_64 Advisory build 4:5.32.1-481.el9_4.1 RHSA-2025:11545
SUSE / openSUSE SLE-15-SP6 perlaarch64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP6 perlppc64le Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP6 perls390x Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP6 perlx86_64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP7 perlaarch64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP7 perlppc64le Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP7 perls390x Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-15-SP7 perlx86_64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-5 perlaarch64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-5 perlppc64le Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-5 perls390x Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE SLE-5 perlx86_64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE openSUSE-Leap-15.6 perlaarch64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE openSUSE-Leap-15.6 perlppc64le Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE openSUSE-Leap-15.6 perls390x Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE openSUSE-Leap-15.6 perlx86_64 Advisory build 5.26.1-150300.17.20.1 SUSE-SU-2025:02027-1
SUSE / openSUSE openSUSE-Tumbleweed perlaarch64 Advisory build 5.40.2-3.1 OPENSUSE-SU-2025:15258-1
SUSE / openSUSE openSUSE-Tumbleweed perlppc64le Advisory build 5.40.2-3.1 OPENSUSE-SU-2025:15258-1
SUSE / openSUSE openSUSE-Tumbleweed perls390x Advisory build 5.40.2-3.1 OPENSUSE-SU-2025:15258-1
SUSE / openSUSE openSUSE-Tumbleweed perlx86_64 Advisory build 5.40.2-3.1 OPENSUSE-SU-2025:15258-1
Ubuntu noble perl Advisory build 5.38.2-3.2ubuntu0.2 USN-7678-1
AlmaLinux 8 perl-Algorithm-Diff Advisory build 1.1903-10.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Archive-Tar Advisory build 2.38-3.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Archive-Zip Advisory build 1.68-3.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Attribute-Handlers Advisory build 0.99-423.el8_10 ALSA-2025:11805
AlmaLinux 8 perl-Attribute-Handlers Advisory build 1.01-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-AutoLoader Advisory build 5.74-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-AutoSplit Advisory build 5.74-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-B Advisory build 1.80-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-Benchmark Advisory build 1.23-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-CPAN Advisory build 2.28-5.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-CPAN-DistnameInfo Advisory build 0.12-13.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-CPAN-Meta Advisory build 2.150010-397.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-CPAN-Meta-Requirements Advisory build 2.140-397.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-CPAN-Meta-YAML Advisory build 0.018-1001.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Carp Advisory build 1.50-439.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Class-Struct Advisory build 0.66-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-Compress-Bzip2 Advisory build 2.28-2.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Compress-Bzip2 Advisory build 2.28-2.module_el8.6.0+3181+91434291 ALSA-2026:8096
AlmaLinux 8 perl-Compress-Raw-Bzip2 Advisory build 2.096-1.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Compress-Raw-Bzip2 Advisory build 2.096-1.module_el8.6.0+3181+91434291 ALSA-2026:8096
AlmaLinux 8 perl-Compress-Raw-Lzma Advisory build 2.096-1.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Compress-Raw-Lzma Advisory build 2.096-1.module_el8.6.0+3181+91434291 ALSA-2026:8096
AlmaLinux 8 perl-Compress-Raw-Zlib Advisory build 2.096-2.module_el8.10.0+3779+d5938d28 ALSA-2026:8096
AlmaLinux 8 perl-Config-Extensions Advisory build 0.03-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-Config-Perl-V Advisory build 0.32-441.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-DBM_Filter Advisory build 0.06-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096
AlmaLinux 8 perl-DB_File Advisory build 1.855-1.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-DB_File Advisory build 1.855-1.module_el8.6.0+3181+91434291 ALSA-2026:8096
AlmaLinux 8 perl-Data-Dumper Advisory build 2.174-440.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Data-Dumper Advisory build 2.174-440.module_el8.6.0+3181+91434291 ALSA-2026:8096
AlmaLinux 8 perl-Data-OptList Advisory build 0.110-7.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Data-Section Advisory build 0.200007-8.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Devel-PPPort Advisory build 3.62-1.module_el8.6.0+2766+8bf0b7ce ALSA-2026:8096
AlmaLinux 8 perl-Devel-PPPort Advisory build 3.62-1.module_el8.6.0+3181+91434291 ALSA-2026:8096
AlmaLinux 8 perl-Devel-Peek Advisory build 1.26-423.el8_10 ALSA-2025:11805
AlmaLinux 8 perl-Devel-Peek Advisory build 1.28-474.module_el8.10.0+4162+0aac7c4c ALSA-2026:8096

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
perl perl 5.13.6 to < 5.41.13 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

2
  • CWE-689 CWE-689 Permission Race Condition During Resource Copy (CPANSec · cna)
  • CWE-426 CWE-426 Untrusted Search Path (CPANSec · cna)

References

18

Provider assertions

3

CPANSec · cna

Perl threads have a working directory race condition where file operations may target unintended paths

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
ac671b44a0e4ec1fa8cbc238b3d6678c9e7018bbe5cc2da21b06e8641f420070
Ingested
23 Sep 2026, 08:48:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected