CVE-2026-120359
publishedFindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to LD_LIBRARY_PATH with the ld_lib option
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | FindBin-libs4.1.0 to < 5.4.0 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
FindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to LD_LIBRARY_PATH with the ld_lib option. When LD_LIBRARY_PATH is unset, ld_lib sets it to the directories found followed by a trailing colon. The dynamic linker reads the empty element after it as the current directory. The option exists only in the module installed on Perl 5.40 and later. A local attacker who can write to the working directory of a program the script runs can plant a shared library that runs as the script's user.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FindBin-libs | 4.1.0 to < 5.4.0 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-427 CWE-427 Uncontrolled Search Path Element
References
2Provider assertions
1CPANSec · cna
FindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to LD_LIBRARY_PATH with the ld_lib option
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 607a92863793c6efd8611258e9c1ba75dda44909e6ab4e925451422bfd24f115
- Ingested
- 30 Nov 2026, 00:42:27 UTC
- Source record
- Official CVE record