Perl threads have a working directory race condition where file operations may target unintended paths
Noroxi assessment
Priority: Monitor (action score 23/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.50% (FIRST EPSS).
- Someone with local access to the system can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: azl3 perl 5.38.2-509 on Azure Linux 3.0 5.38.2-509; cbl2 perl 5.34.1-491 on CBL Mariner 2.0 5.34.1-491; cbl2 perl 5.34.1-491 on CBL-Mariner 2.0 5.34.1-491.
Low priority for now. Upgrade to azl3 perl 5.38.2-509 on Azure Linux 3.0 5.38.2-509; cbl2 perl 5.34.1-491 on CBL Mariner 2.0 5.34.1-491; cbl2 perl 5.34.1-491 on CBL-Mariner 2.0 5.34.1-491 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
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
- BDU:2025-10307
- ALSA-2025:11805
- ALSA-2026:8096
- openSUSE-SU-2025:15258-1
- RHSA-2025:11545
- RHSA-2025:11804
- RHSA-2025:11805
- RHSA-2025:12056
- RHSA-2026:37070
- RHSA-2026:50262
- RHSA-2026:8096
- RLSA-2025:11804
- RLSA-2025:11805
- RLSA-2025:12056
- RLSA-2026:8096
- SUSE-SU-2025:02027-1
- SUSE-SU-2025:02051-1
- SUSE-SU-2025:20456-1
- SUSE-SU-2025:20532-1
- Published
- May 30, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.5% · 41th percentile
- CWE
- CWE-426
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (CPANSec). Independent of NVD's CPE analysis and usually ahead of it.
perl perl
- 5.13.6 and later · before 5.41.13affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | perl | before 4:5.32.1-474.module_el8.10.0+4162+0aac7c4c | 4:5.32.1-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl | before 4:5.26.3-423.el8_10 | 4:5.26.3-423.el8_10 |
| AlmaLinux:8 | perl-Algorithm-Diff | before 1.1903-10.module_el8.6.0+2766+8bf0b7ce | 1.1903-10.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-Archive-Tar | before 2.38-3.module_el8.6.0+2766+8bf0b7ce | 2.38-3.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-Archive-Zip | before 1.68-3.module_el8.6.0+2766+8bf0b7ce | 1.68-3.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-Attribute-Handlers | before 1.01-474.module_el8.10.0+4162+0aac7c4c | 1.01-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-Attribute-Handlers | before 0.99-423.el8_10 | 0.99-423.el8_10 |
| AlmaLinux:8 | perl-autodie | before 2.34-1.module_el8.6.0+2766+8bf0b7ce | 2.34-1.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-AutoLoader | before 5.74-474.module_el8.10.0+4162+0aac7c4c | 5.74-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-AutoSplit | before 5.74-474.module_el8.10.0+4162+0aac7c4c | 5.74-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-autouse | before 1.11-474.module_el8.10.0+4162+0aac7c4c | 1.11-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-B | before 1.80-474.module_el8.10.0+4162+0aac7c4c | 1.80-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-base | before 2.27-474.module_el8.10.0+4162+0aac7c4c | 2.27-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-Benchmark | before 1.23-474.module_el8.10.0+4162+0aac7c4c | 1.23-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-bignum | before 0.51-439.module_el8.6.0+2766+8bf0b7ce | 0.51-439.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-blib | before 1.07-474.module_el8.10.0+4162+0aac7c4c | 1.07-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-Carp | before 1.50-439.module_el8.6.0+2766+8bf0b7ce | 1.50-439.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-Class-Struct | before 0.66-474.module_el8.10.0+4162+0aac7c4c | 0.66-474.module_el8.10.0+4162+0aac7c4c |
| AlmaLinux:8 | perl-Compress-Bzip2 | before 2.28-2.module_el8.6.0+2766+8bf0b7ce | 2.28-2.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-Compress-Bzip2 | before 2.28-2.module_el8.6.0+3181+91434291 | 2.28-2.module_el8.6.0+3181+91434291 |
| AlmaLinux:8 | perl-Compress-Raw-Bzip2 | before 2.096-1.module_el8.6.0+3181+91434291 | 2.096-1.module_el8.6.0+3181+91434291 |
| AlmaLinux:8 | perl-Compress-Raw-Bzip2 | before 2.096-1.module_el8.6.0+2766+8bf0b7ce | 2.096-1.module_el8.6.0+2766+8bf0b7ce |
| AlmaLinux:8 | perl-Compress-Raw-Lzma | before 2.096-1.module_el8.6.0+3181+91434291 | 2.096-1.module_el8.6.0+3181+91434291 |
| AlmaLinux:8 | perl-Compress-Raw-Lzma | before 2.096-1.module_el8.6.0+2766+8bf0b7ce | 2.096-1.module_el8.6.0+2766+8bf0b7ce |
+96
Same product
perl: all recordsOther highest-scoring records for the same primary product.
- CVE-2012-6329The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and f49Plan
- CVE-2018-18311Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-18312Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-6913Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a lar42Plan
- CVE-2018-18314Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.41Plan
- CVE-2018-6797An issue was discovered in Perl 5.18 through 5.26.41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 perl 5.38.2-509 on Azure Linux 3.0 | 5.38.2-509 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 perl 5.34.1-491 on CBL Mariner 2.0 | 5.34.1-491 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 perl 5.34.1-491 on CBL-Mariner 2.0 | 5.34.1-491 · CBL-Mariner Releases | Microsoft (MSRC) |
| cm2 perl 5.34.1-491 on CBL Mariner 2.0 | 5.34.1-491 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:perl | 4:5.26.3-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Attribute-Handlers | 0.99-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Devel-Peek | 1.26-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Devel-SelfStubber | 1.06-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Errno | 1.28-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-ExtUtils-Embed | 1.34-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-ExtUtils-Miniperl | 1.06-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-IO | 1.38-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-IO-Zlib | 1:1.10-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Locale-Maketext-Simple | 1:0.21-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Math-Complex | 1.59-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:perl-Memoize | 1.03-423.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:perl | 5.36.0-7+deb12u3 · Debian:12 | Package registry (OSV) |
| opensuse:perl | 5.26.1-150300.17.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:perl | 4:5.32.1-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-Attribute-Handlers | 0:1.01-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-AutoLoader | 0:5.74-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-AutoSplit | 0:5.74-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-B | 0:1.80-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-B-debuginfo | 0:1.80-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-Benchmark | 0:1.23-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-Class-Struct | 0:0.66-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-Config-Extensions | 0:0.03-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-DBM_Filter | 0:0.06-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-Devel-Peek | 0:1.28-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:perl-Devel-Peek-debuginfo | 0:1.28-481.el9_4.1 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
+13
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Vincent Lefevrefinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- low · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- Low
Weakness class (CWE)
CWE-426 · Untrusted Search PathCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (17 more)Show less
- github.com/Perl/perl5/commit/11a11ecf4bea72b17d250cfb43c897be1341861e
- github.com/Perl/perl5/commit/918bfff86ca8d6d4e4ec5b30994451e0bd74aba9.patch
- github.com/Perl/perl5/issues/10387
- github.com/Perl/perl5/issues/23010
- perldoc.perl.org/5.14.0/perl5136delta#Directory-handles-not-copied-to-threads
- www.openwall.com/lists/oss-security/2025/05/22/2
- seclists.org/fulldisclosure/2025/Sep/53
- seclists.org/fulldisclosure/2025/Sep/54
- seclists.org/fulldisclosure/2025/Sep/55
- www.openwall.com/lists/oss-security/2025/05/23/1
- www.openwall.com/lists/oss-security/2025/05/30/4
- www.openwall.com/lists/oss-security/2025/06/02/2
- www.openwall.com/lists/oss-security/2025/06/02/5
- www.openwall.com/lists/oss-security/2025/06/02/6
- www.openwall.com/lists/oss-security/2025/06/02/7
- www.openwall.com/lists/oss-security/2025/06/03/1
- lists.debian.org/debian-lts-announce/2026/04/msg00018.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.